-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
59 lines (55 loc) · 1.21 KB
/
docker-compose.yml
File metadata and controls
59 lines (55 loc) · 1.21 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
version: "3.8"
services:
zenticket-app:
image: zenticket_oficial/zenticket_v2
user: "${UXID}:${GID}"
build:
context: .
target: dev
container_name: zenticket-app
volumes:
- ./:/var/www/html/
- ./docker/php/php.ini:/usr/local/etc/php/conf.d/my-custom-php.ini
restart: unless-stopped
env_file:
- docker/docker-compose-env/application.env
depends_on:
- zenticket-redis
networks:
- zenticket
zenticket-nginx:
image: nginx:alpine
container_name: zenticket-nginx
restart: always
ports:
- 80:80
volumes:
- ./:/var/www/html/
- ./docker/nginx/:/etc/nginx/conf.d/
networks:
- zenticket
zenticket-postgres:
image: postgres
container_name: zenticket-postgres
environment:
POSTGRES_USER: zenticket
POSTGRES_PASSWORD: 'tioJ0bs@T0p'
POSTGRES_DB: zenticket
ports:
- "5432:5432"
volumes:
- "pgsql:/var/lib/postgresql/data"
restart: unless-stopped
networks:
- zenticket
zenticket-redis:
image: redis:latest
container_name: zenticket-redis
networks:
- zenticket
networks:
zenticket:
driver: bridge
volumes:
pgsql:
driver: local