-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
58 lines (53 loc) · 1.13 KB
/
docker-compose-dev.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
version: '3.8'
services:
web:
container_name: web_django
image: lucasfs/django_lwandisurf_dev:1.1
restart: always
hostname: web_django
# build:
# context: ./django
# dockerfile: Dockerfile.dev
volumes:
- django_project:/project
env_file:
- ./env_files/.env.dev.web
ports:
- "8000:8000"
depends_on:
- db
db:
container_name: db_postgres
hostname: db_postgres
restart: always
image: lucasfs/postgres_lwandisurf_dev:1.0
# build:
# context: ./postgres
volumes:
- postgres_backup:/backup/
env_file:
- ./env_files/.env.dev.db
# ui:
# container_name: ui_react
# hostname: ui_react
# restart: always
# image: lwandisurf/node:latest
# stdin_open: true
# volumes:
# - './interface:/app'
# - '/app/node_modules'
# ports:
# - "3001:3000"
volumes:
postgres_backup:
driver: local
driver_opts:
type: none
device: $PWD/volumes/postgres_backup
o: bind
django_project:
driver: local
driver_opts:
type: none
device: $PWD/django/app
o: bind