-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
72 lines (66 loc) · 1.73 KB
/
docker-compose.yaml
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
70
71
72
version: "3.7"
services:
mongo:
image: mongo:8.0-noble@sha256:6fe103ae60b5929989ec6d6e2f5eb159e8b3c53685b26b9fb41cf2ca8bf279cf
uwsgi:
image: jnorwood/stupidchess-uwsgi
build:
context: .
dockerfile: docker/Dockerfile-uwsgi
entrypoint:
- uwsgi
- --ini
- /etc/stupidchess/uwsgi.ini:local
environment:
JCONFIGURE_ACTIVE_PROFILES: LCL
JCONFIGURE_CONFIG_DIRECTORIES: /etc/stupidchess/config
volumes:
- type: volume
source: stupidchess-sockets
target: /run/stupidchess
- type: bind
source: ./uwsgi.ini
target: /etc/stupidchess/uwsgi.ini
read_only: true
- type: bind
source: ./config
target: /etc/stupidchess/config
read_only: true
nginx:
image: jnorwood/stupidchess-nginx:2023.10.0
volumes:
- type: volume
source: stupidchess-sockets
target: /run/stupidchess
- type: volume
source: stupidchess-nginx-runtime
target: /run/stupidchess-nginx
- type: volume
source: stupidchess-nginx-logs
target: /run/systemd/journal
journald:
image: jnorwood/stupidchess-journald
build:
context: docker
dockerfile: Dockerfile-journald
volumes:
- type: volume
source: stupidchess-nginx-logs
target: /run/systemd/journal
socat:
image: jnorwood/stupidchess-socat
build:
context: docker
dockerfile: Dockerfile-socat
ports:
- published: 23180
target: 23080
volumes:
- type: volume
source: stupidchess-nginx-runtime
target: /run/stupidchess-nginx
volumes:
frontend-public-volume:
stupidchess-nginx-logs:
stupidchess-nginx-runtime:
stupidchess-sockets: