-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub-ci-docker-compose.yml
More file actions
69 lines (68 loc) · 1.46 KB
/
Copy pathgithub-ci-docker-compose.yml
File metadata and controls
69 lines (68 loc) · 1.46 KB
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
66
67
68
69
name: data-view
services:
core:
container_name: core
build:
context: ./
dockerfile: data-view.dockerfile
command: gunicorn --worker-tmp-dir /dev/shm --workers 2 data-view.wsgi:application --bind 0.0.0.0:8888 --reload --timeout 600
volumes:
- ".:/code"
- "./data-view/static:/code/data-view/static"
- "./data-view/API/migrations:/code/data-view/API/migrations"
- "/var/log/data-view:/var/log/data-view"
- "shared_files:/shared"
expose:
- "8888"
env_file:
- ./.env.data-view.dist
environment:
- TZ=Europe/Warsaw
depends_on:
- db
- libreoffice
restart: always
networks:
- app-network
libreoffice:
build:
context: ./libreoffice
expose:
- "5000"
restart: always
networks:
- app-network
volumes:
- "shared_files:/shared"
db:
container_name: db
volumes:
- "postgres_data:/var/lib/postgresql/data/"
image: postgres:17.2-bookworm
ports:
- "5432:5432"
env_file:
- ./.env.data-view-db.dist
restart: always
networks:
- app-network
nginx:
container_name: nginx
build:
context: ./nginx
dockerfile: Dockerfile
volumes:
- ./data-view/static:/code/static/
ports:
- "9393:9393"
depends_on:
- core
restart: always
networks:
- app-network
volumes:
postgres_data:
shared_files:
networks:
app-network:
driver: bridge