-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstack.yml
46 lines (43 loc) · 887 Bytes
/
stack.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
version: '3.7'
services:
front:
restart: always
image: mattlangsenkamp/rocfreestands-front:latest
ports:
- "8079:8079"
depends_on:
- server
server:
restart: always
image: mattlangsenkamp/rocfreestands-http4s:latest
ports:
- "8081:8081"
environment:
PSQL_HOST: db
PSQL_USERNAME: rocfreestands
PSQL_PASSWORD: password
RFS_USERNAME: admin
RFS_PASSWORD: admin
PICTURE_PATH: /var/lib/rocfreestands
volumes:
- server:/var/lib/rocfreestands
depends_on:
- db
db:
image: postgres:15.4
restart: always
environment:
POSTGRES_USER: rocfreestands
POSTGRES_PASSWORD: password
ports:
- "5432:5432"
volumes:
- db:/var/lib/postgresql/data
adminer:
image: adminer
restart: always
ports:
- "8080:8080"
volumes:
server:
db: