-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 892 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (31 loc) · 892 Bytes
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
version: '3.9'
services:
dashercontrol:
build: .
image: antoine13/dashercontrol
container_name: dashercontrol
ports:
- 8080:8080
environment:
- CSRF_TOKEN_KEY=E078C5E8743F4F4E14CED526A60B2C99
- DATABASE_URL=postgres://postgres:root@database/diesel
- ROCKET_ENV=production
# volumes:
# - ./certs:/usr/src/dashercontrol/certs
links:
- database
database:
image: postgres
container_name: dashercontrol_db
hostname: dashercontrol_db
expose:
- 5432
volumes:
- pgdata:/var/lib/postgresql/data/pgdata
environment:
POSTGRES_PASSWORD: root
POSTGRES_USER: postgres
POSTGRES_DB: diesel
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
pgdata: {}