-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (61 loc) · 1.11 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
59
60
61
62
63
64
65
version: '3'
services:
postgres:
build:
context: .
dockerfile: docker/database/Dockerfile
expose:
- 5432
ports:
- 15432:5432
restart: always
volumes:
- ./:/var/jvn
environment:
- "TZ=Japan"
- "LANG=ja_JP.UTF-8"
- "POSTGRES_PASSWORD=hogehoge"
container_name: jvn_postgres
plt:
build:
context: .
dockerfile: docker/plt/Dockerfile
command: /usr/bin/python3 /var/local/jvn_plt_server.py
expose:
- 8003
ports:
- 8003:8003
restart: always
links:
- postgres
volumes:
- ./:/var/local
stdin_open: true
privileged: true
environment:
- "TZ=JST-9"
container_name: jvn_plt
web:
build:
context: .
dockerfile: docker/web/Dockerfile
expose:
- 80
ports:
- 8002:80
restart: always
links:
- postgres
- plt
volumes:
- ./:/var/www/jvn
stdin_open: true
privileged: true
environment:
- "TZ=JST-9"
container_name: jvn_web
networks:
default:
ipam:
config:
- subnet: 10.250.10.0/25