From 688d87bb66627a92aa16f019e515f056adea88f5 Mon Sep 17 00:00:00 2001 From: NightPumpkin Date: Sun, 25 Sep 2022 22:09:51 +0200 Subject: [PATCH] picsur-postgresql-adminer --- .../docker-compose.yml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 docker-compose/picsur-postgresql-adminer/docker-compose.yml diff --git a/docker-compose/picsur-postgresql-adminer/docker-compose.yml b/docker-compose/picsur-postgresql-adminer/docker-compose.yml new file mode 100644 index 0000000..c8ef857 --- /dev/null +++ b/docker-compose/picsur-postgresql-adminer/docker-compose.yml @@ -0,0 +1,48 @@ +## Discord Plex FR : https://discord.gg/3gtABCH +## Version 2022-09-25 +version: '3' + +services: + picsur: + image: ghcr.io/rubikscraft/picsur:latest + container_name: picsur + ports: + - '8080:8080' + depends_on: + - picsur_postgres + environment: + PICSUR_DB_HOST: picsur_postgres + PICSUR_DB_PORT: 5432 + PICSUR_DB_USERNAME: picsur + PICSUR_DB_PASSWORD: PASS_DE_MA_DB + PICSUR_DB_DATABASE: picsur + PICSUR_ADMIN_PASSWORD: MON_SUPER_PASS_ADMIN + restart: unless-stopped + + picsur_postgres: + image: postgres:14 + container_name: picsur_postgres +# user: 9999:111 + labels: + - com.centurylinklabs.watchtower.enable=true + - deunhealth.restart.on.unhealthy=true + environment: + POSTGRES_DB: picsur + POSTGRES_PASSWORD: PASS_DE_MA_DB + POSTGRES_USER: picsur + restart: unless-stopped + volumes: +# - /etc/passwd:/etc/passwd:ro +# - /etc/localtime:/etc/localtime:ro + - ./data:/var/lib/postgresql/data + + adminer: + container_name: picsur_adminer + image: adminer + restart: unless-stopped + depends_on: + - picsur_postgres + ports: + - 8081:8080 + mem_limit: 64m + mem_reservation: 16m \ No newline at end of file