Add dockerfile

This commit is contained in:
Las Zenow 2021-02-10 16:42:59 +00:00
parent dfc3415972
commit 2c535dba83
2 changed files with 44 additions and 0 deletions

17
docker-compose.yml Normal file
View file

@ -0,0 +1,17 @@
trantor:
container_name: trantor
hostname: trantor
image: trantor
restart: always
ports:
- "0.0.0.0:8080:8080" # web
- "0.0.0.0:9123:9123" # prometheus
volumes:
- /opt/store:/store
# - /opt/logger.xml:/logger.xml
environment:
- SESSION_KEY=
- TRANTOR_DB_ADDR=localhost:5432
- TRANTOR_DB_NAME=trantor
- TRANTOR_DB_USER=trantor
- TRANTOR_DB_PASSWORD=