-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.test.yml
118 lines (108 loc) · 2.7 KB
/
docker-compose.test.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
version: "3.6"
services:
nginx:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
#- '80:80'
#- '81:81'
- '443:443'
volumes:
- ./data/nginxm/data:/data
- ./data/nginxm/letsencrypt:/etc/letsencrypt
environment:
HOSTNAMES: nginx.test.itmo-learning-projects.ru
depends_on:
- odoo
- vpn
- dps
vpn:
image: hwdsl2/ipsec-vpn-server
restart: always
env_file:
- ./config/vpn_test.env
ports:
- "500:500/udp"
- "4500:4500/udp"
privileged: true
dns:
- 172.177.0.10
hostname: ipsec-vpn-server
container_name: ipsec-vpn-server
volumes:
- /lib/modules:/lib/modules:ro
dps:
image: defreitas/dns-proxy-server
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/resolv.conf:/etc/resolv.conf
environment:
- MG_LOG_LEVEL=ERROR
hostname: dns.test.itmo-learning-projects.ru
networks:
default:
ipv4_address: 172.177.0.10
depends_on:
- vpn
odoo:
restart: always
container_name: odoo
image: ghcr.io/itmolerningproject/odoo16:latest
command: -u learning_projects -d odoo
volumes:
- ./data/odoo:/var/lib/odoo
- ./odoo/backups:/odoo/backups
- ./config/odoo.test.conf:/etc/odoo/odoo.conf
- ./addons:/mnt/extra-addons
postgres:
restart: always
container_name: postgres
image: postgres:13
environment:
HOSTNAMES: postgres.test.itmo-learning-projects.ru
POSTGRES_DB: "postgres"
POSTGRES_PASSWORD: "WLgxqy4gy94HrJB6LSma"
POSTGRES_USER: "odoo"
PGDATA: "/var/lib/postgresql/data/pgdata"
volumes:
- ./data/pgdata:/var/lib/postgresql/data/pgdata
pgadmin:
restart: always
image: dpage/pgadmin4:6.4
environment:
HOSTNAMES: pgadmin.test.itmo-learning-projects.ru
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: 9tkgWIxz3nknyoIlBQYL
volumes:
- ./config/pgadmin-servers.${ENVIRONMENT}.json:/pgadmin4/servers.json
depends_on:
- vpn
- dps
maildev:
restart: always
container_name: maildev
image: maildev/maildev:latest
environment:
HOSTNAMES: maildev.test.itmo-learning-projects.ru
depends_on:
- vpn
- dps
dps:
image: defreitas/dns-proxy-server
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/resolv.conf:/etc/resolv.conf
environment:
- MG_LOG_LEVEL=ERROR
hostname: dns.test.itmo-learning-projects.ru
networks:
default:
ipv4_address: 172.177.0.10
depends_on:
- vpn
networks:
default:
name: lp_network
ipam:
config:
- subnet: 172.177.0.0/16