##// END OF EJS Templates
Se corrigio dependencias de .yml acerca de postgres
Renato Huallpa -
r382:53989a0c9888
parent child
Show More
@@ -1,47 +1,47
1 1 version: '3'
2 2 services:
3 3 # Django app
4 4 radarsys:
5 5 container_name: 'radarsys'
6 6 build: .
7 7 restart: always
8 8 image: radarsys
9 9 ports:
10 10 - 8000:8000
11 11 env_file: .env
12 12 links:
13 - postgres
13 - radarsys-postgres
14 14 volumes:
15 15 - './:/radarsys'
16 16 - '${DOCKER_DATA}/static:/radarsys/static'
17 17 depends_on:
18 - postgres
18 - radarsys-postgres
19 19
20 20 # PostgreSQL
21 21 radarsys-postgres:
22 22 container_name: 'radarsys-postgres'
23 23 build: ./postgres/
24 24 volumes:
25 25 - ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
26 26 - pgdata:/var/lib/postgresql/data
27 27 ports:
28 28 - 5432:5432
29 29 env_file: .env
30 30
31 31 #Web Server
32 32 radarsys-nginx:
33 33 container_name: 'radarsys-nginx'
34 34 restart: always
35 35 build: ./nginx/
36 36 ports:
37 37 - '0.0.0.0:80:80'
38 38 volumes_from:
39 39 - radarsys
40 40 links:
41 41 - radarsys:radarsys
42 42 depends_on:
43 43 - radarsys
44 44
45 45 volumes:
46 46 pgdata:
47 47 driver: local
General Comments 0
You need to be logged in to leave comments. Login now