-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
98 lines (87 loc) · 2.08 KB
/
docker-compose.yml
File metadata and controls
98 lines (87 loc) · 2.08 KB
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
services:
aixm-client:
container_name: aixm-client
image: aixm/aixm-client:latest
restart: unless-stopped
depends_on:
- aixm-proxy
networks:
- aixm
aixm-server:
container_name: aixm-server
image: aixm/aixm-server:latest
restart: unless-stopped
volumes:
- ./.env:/var/www/.env
- ./aixm-server/storage:/var/www/storage
env_file:
- .env
depends_on:
- aixm-postgres
networks:
- aixm
aixm-queue:
container_name: aixm-queue
image: aixm/aixm-server:latest
restart: unless-stopped
volumes:
- ./.env:/var/www/.env
- ./aixm-server/storage:/var/www/storage
depends_on:
- aixm-server
command: /bin/bash /opt/bin/queue.sh &>/dev/null &
networks:
- aixm
aixm-nginx:
container_name: aixm-nginx
image: aixm/aixm-nginx:latest
restart: unless-stopped
volumes:
- ./aixm-server/storage:/var/www/storage:ro
depends_on:
- aixm-server
networks:
- aixm
aixm-postgres:
container_name: aixm-postgres
image: aixm/aixm-postgres:latest
restart: unless-stopped
volumes:
- ./aixm-server/docker/postgres/postgresql/data:/var/lib/postgresql/data
- ./aixm-server/docker/postgres/tmp/data:/tmp/data
environment:
- POSTGRES_DB=${DB_DATABASE}
- POSTGRES_USER=${DB_USERNAME}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- LANG=${DB_LANG}
networks:
- aixm
aixm-redis:
container_name: aixm-redis
image: aixm/aixm-redis
build:
context: .
dockerfile: ./aixm-server/docker/redis/Dockerfile
restart: unless-stopped
volumes:
- aixm-redis-data:/data:rw
networks:
- aixm
aixm-proxy:
container_name: aixm-proxy
image: aixm/aixm-nginx:latest
restart: unless-stopped
ports: [ "${CLIENT_WEBPORT}:80" ]
volumes:
- ./proxy.conf:/etc/nginx/conf.d/default.conf:ro
extra_hosts:
- localnode:${LOCALNODE:-172.17.0.1}
depends_on:
- aixm-nginx
networks:
- aixm
volumes:
aixm-redis-data:
networks:
aixm:
driver: bridge