blob: a4572721c38cd78231f556c218616d6f3667e4da (
plain)
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
|
services:
web:
build: ./build/nginx
restart: unless-stopped
ports:
- '80:8080'
volumes:
- ./src:/opt/website:ro
- ./conf/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- php
php:
build: ./build/php
restart: unless-stopped
env_file:
- ./conf/postgres/database.env
volumes:
- ./src:/opt/website:ro
- ./data/status:/status:ro
depends_on:
- db
db:
build: ./build/postgres
restart: unless-stopped
env_file:
- ./conf/postgres/database.env
environment:
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
volumes:
- './data/schemas:/var/lib/postgresql/data'
- ./src/db:/db:ro
init:
build: ./build/init
env_file:
- ./conf/postgres/database.env
volumes:
- ./src/db:/db:ro
- ./data/status:/status
depends_on:
- db
|