Merge pull request 'Ajout + correction emplacement ghost' (#143) from pump into master

Reviewed-on: #143
This commit is contained in:
Zoz 2022-09-26 00:07:41 +02:00
commit 82df1c9412
3 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,21 @@
## Discord Plex FR : https://discord.gg/3gtABCH
## Version 2022-09-25
version: "3"
services:
paste-bin:
container_name: paste-bin
image: ghcr.io/enchant97/hasty-paste:1
restart: unless-stopped
environment:
- "NEW_AT_INDEX=True"
- "UI_DEFAULT__USE_LONG_ID=True"
- "UI_DEFAULT__EXPIRE_TIME__ENABLE=True"
- "UI_DEFAULT__EXPIRE_TIME__MINUTES=0"
- "UI_DEFAULT__EXPIRE_TIME__HOURS=0"
- "UI_DEFAULT__EXPIRE_TIME__DAYS=31"
volumes:
- ./data:/app/data
ports:
- 8000:8000

View File

@ -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