-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
48 lines (44 loc) · 972 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
43
44
45
46
47
48
version: "3.9"
services:
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: maumau
POSTGRES_IP: localhost
POSTGRES_PORT: 5432
ports:
- "5432:5432"
persistence:
image: maumau-persistence
build:
context: ./Persistence/
dockerfile: ./Dockerfile
stdin_open: true
tty: true
ports:
- "8081:8081"
environment:
- FILE_IO_HOST=fileio
- FILE_IO_PORT=8081
container_name: persistence_service
maumau:
image: maumau-service
build:
context: ./
dockerfile: ./Dockerfile
ports:
- "8080:8080"
stdin_open: true
tty: true
depends_on:
- persistence
container_name: maumau_service
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
environment:
- DISPLAY=host.docker.internal:0
- FILEIO_SERVICE_HOST=fileio
- FILEIO_SERVICE_PORT=8081