-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (42 loc) · 880 Bytes
/
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
services:
db:
image: groonga/pgroonga:latest-alpine-16
volumes:
- psgl_data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: '20070920'
ports:
- '5432:5432'
web:
build:
context: .
dockerfile: ./web/Dockerfile
volumes:
- .:/nyasocom_sun_pg_win
- public:/nyasocom_sun_pg_win/public
- tmp:/nyasocom_sun_pg_win/tmp
environment:
- POSTGRES_HOST=db
tty: true
stdin_open: true
depends_on:
- db
nginx:
build:
context: .
dockerfile: ./nginx/Dockerfile
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./secret:/etc/nginx/secret
- public:/nyasocom_sun_pg_win/public
- tmp:/nyasocom_sun_pg_win/tmp
ports:
- "80:80"
- "443:443"
depends_on:
- web
volumes:
psgl_data:
driver: local
tmp:
public: