-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
94 lines (84 loc) · 2.1 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
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
version: '3'
services:
php:
image: ghcr.io/aasaam/vulnerable-application:latest
restart: unless-stopped
working_dir: /app/php
volumes:
- ./app/php:/app/php:ro
- ./config/php/www.conf:/usr/local/etc/php-fpm.d/www.conf:ro
environment:
MYSQL_USER: ${MYSQL_USER}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_DB: ${POSTGRES_DB}
SA_PASSWORD: ${SA_PASSWORD}
networks:
- app-network
adminer:
image: adminer
restart: unless-stopped
ports:
- 10803:8080
networks:
- app-network
aasaam-web-server:
image: ghcr.io/aasaam/web-server:latest
restart: unless-stopped
volumes:
- ./addon:/usr/local/openresty/nginx/addon:ro
- ./config/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf:ro
ports:
- 10801:80
- 10802:443
networks:
- app-network
nginx:
image: nginx:1
restart: unless-stopped
volumes:
- ./app/php:/app/php:ro
- ./config/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
ports:
- 10800:8080
networks:
- app-network
mysql:
image: mysql:5
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
networks:
- app-network
postgres:
image: postgres:9
restart: unless-stopped
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_DB: ${POSTGRES_DB}
networks:
- app-network
mssql:
image: mcr.microsoft.com/mssql/server:2019-latest
restart: unless-stopped
environment:
ACCEPT_EULA: 'Y'
SA_PASSWORD: ${SA_PASSWORD}
networks:
- app-network
oracle:
image: wnameless/oracle-xe-11g-r2
restart: unless-stopped
environment:
ORACLE_ALLOW_REMOTE: 'true'
networks:
- app-network
networks:
app-network:
driver: bridge