Ajout des services Traefik, PostgreSQL et Gitea

This commit is contained in:
2020-05-15 23:34:50 +02:00
parent c28d762910
commit 9915693747
16 changed files with 409 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
version: "3.8"
volumes:
postgres:
name: ${POSTGRES_VOLUME_NAME}
services:
postgres:
container_name: ${POSTGRES_CONTAINER_NAME}
image: ${POSTGRES_IMAGE}
restart: always
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- postgres:/var/lib/postgresql/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro