forked from moyada/stealer
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
49 lines (46 loc) · 1.09 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3.8'
networks:
stealer-net:
ipam:
driver: default
config:
- subnet: 172.16.238.0/24
gateway: 172.16.238.1
services:
stealer:
build:
context: ./code
dockerfile: Dockerfile
container_name: stealer.RUNNING
image: stealer:1.0.0
restart: always
#ports:
# - "8000:8000"
expose:
- "8000"
volumes:
- /etc/localtime:/etc/localtime
networks:
stealer-net:
ipv4_address: 172.16.238.5
privileged: true
nginx:
container_name: stealer.nginx
image: nginx:1.18.0
restart: always
ports:
- "443:443"
volumes:
#- /etc/localtime:/etc/localtime
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/conf.d:/etc/nginx/conf.d
- ./nginx/logs:/var/log/nginx
- ./nginx/key/cert.crt:/usr/data/app/system/nginx/cert.crt #https证书
- ./nginx/key/cert.key:/usr/data/app/system/nginx/cert.key #https密钥
#network_mode: host
networks:
stealer-net:
ipv4_address: 172.16.238.6
depends_on:
- stealer
privileged: true