add docker compose file
This commit is contained in:
26
transportmanager/docker-compose.yml
Normal file
26
transportmanager/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
tms:
|
||||
build:
|
||||
context: . # repo root (where transportmanager/ lives)
|
||||
dockerfile: transportmanager/Dockerfile
|
||||
image: tms:latest
|
||||
container_name: tms
|
||||
restart: always
|
||||
environment:
|
||||
- VIRTUAL_HOST=tms.northdanubesoft.eu
|
||||
- LETSENCRYPT_HOST=tms.northdanubesoft.eu
|
||||
- VIRTUAL_PORT=80
|
||||
- TZ=Europe/Bucharest
|
||||
networks:
|
||||
- reverse-proxy
|
||||
volumes:
|
||||
- tms_sqlite:/app/server/instance
|
||||
|
||||
networks:
|
||||
reverse-proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
tms_sqlite:
|
||||
Reference in New Issue
Block a user