Skip to content
Snippets Groups Projects
Commit 397a5437 authored by Romain de Laage's avatar Romain de Laage
Browse files

environment fix and traefik configuration

parent eebf78bb
No related branches found
No related tags found
No related merge requests found
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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment