-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (50 loc) · 1.04 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
version: "3.0"
# CONTAINERS
volumes:
postgres_data: {}
postgres_backup: {}
static: {}
allcode:
services:
db:
build: ./docker_config/postgres/
container_name: postgres01
volumes:
- postgres_data:/var/lib/postgresql/data
- postgres_backup:/var/lib/postgresql/data
env_file: .env
django:
build:
context: .
dockerfile: ./docker_config/django/development/Dockerfile
container_name: dango01
volumes:
- .:/code
- static:/my_cdn
expose:
- "8000"
ports:
- "8000:8000"
env_file: .env
entrypoint: "./docker_config/django/development/d_start.sh"
depends_on:
- db
# node:
# build:
# context: .
# dockerfile: ./docker_config/node/development/Dockerfile
# container_name: node_server
# volumes:
# - .:/code
# command: "/n_start.sh"
# ports:
# - "3000:3000"
# depends_on:
# - django
myadminer:
image: adminer
container_name: adminer01
ports:
- "9000:8080"
links:
- db