Commit 397a5437 authored by Romain de Laage's avatar Romain de Laage
Browse files

environment fix and traefik configuration

parent eebf78bb
version: '3'
volumes:
lufidb-data:
lufi-data:
lufi-files:
services:
lufidb:
image: postgres:10
image: postgres:12
container_name: lufidb
restart: always
env_file:
- lufi.env
# env_file:
# - lufi.env
environment:
- POSTGRES_USER=lufidb
- POSTGRES_PASSWORD=passwd
volumes:
- /var/lib/postgresql/data
- lufidb-data:/var/lib/postgresql/data
lufi:
image: lufi
container_name: lufi
......@@ -18,5 +28,10 @@ services:
links:
- lufidb:lufidb
volumes:
- /lufi/data
- /lufi/files
- lufi-data:/lufi/data
- lufi-files:/lufi/files
labels:
- "traefik.frontend.rule=Host:drop.test.picasoft.net"
- "traefik.backend=lufi"
- "traefik.port=8081"
- "traefik.enable=true"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment