From 386c58e40bf97b9f3dd735e988e9e9d7b21f4e3d Mon Sep 17 00:00:00 2001 From: NightPumpkin Date: Sun, 25 Sep 2022 22:07:08 +0200 Subject: [PATCH 1/4] Supprimer 'docker-compose/ghost-mysql' --- docker-compose/ghost-mysql | 43 -------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 docker-compose/ghost-mysql diff --git a/docker-compose/ghost-mysql b/docker-compose/ghost-mysql deleted file mode 100644 index a1e7524..0000000 --- a/docker-compose/ghost-mysql +++ /dev/null @@ -1,43 +0,0 @@ -## Discord Plex FR : https://discord.gg/3gtABCH -## Version 2022-08-21 -version: '3.1' - -services: - ghost: - container_name: blog_ghost - image: ghost:5-alpine - restart: unless-stopped - ports: - - 2368:2368 - volumes: - - ./ghost_content:/var/lib/ghost/content - environment: - url: https://blog.ndd.fr # LIEN DU BLOG, peut ĂȘtre http://IP_LOCAL:2368 si utilisation local uniquement - database__client: mysql - database__connection__host: db - database__connection__user: root - database__connection__password: PASSWORD_SUPER_FORT # CHOISIR UN MOT DE PASSE - database__connection__database: ghost -# - DEBUT - CONFIGURATION MAIL - NON OBLIGATOIRE # -# mail__transport: SMTP -# mail__from: monmail@ndd.fr -# mail__options__service: SMTP -# mail__options__host: serveur.smtp.net -# mail__options__port: -# mail__options__auth__user: nom_utilisateur -# mail__options__auth__pass: mon_mot_de_passe -# - FIN - CONFIGURATION MAIL - NON OBLIGATOIRE # - depends_on: - - db - mem_limit: 512m - - db: - container_name: blog_db - image: mysql:8-debian - restart: unless-stopped - environment: - MYSQL_ROOT_PASSWORD: PASSWORD_SUPER_FORT # RE-UTILISER LE MOT DE PASSE CHOISI DANS LES VARIABLES DE GHOST - volumes: - - ./ghost_db:/var/lib/mysql - mem_limit: 768m - -- 2.45.2 From c267d62e6284376c3de7d3a6454534922eec3019 Mon Sep 17 00:00:00 2001 From: NightPumpkin Date: Sun, 25 Sep 2022 22:07:46 +0200 Subject: [PATCH 2/4] ghost-mysql --- docker-compose/ghost-mysql/docker-compose.yml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 docker-compose/ghost-mysql/docker-compose.yml diff --git a/docker-compose/ghost-mysql/docker-compose.yml b/docker-compose/ghost-mysql/docker-compose.yml new file mode 100644 index 0000000..a1e7524 --- /dev/null +++ b/docker-compose/ghost-mysql/docker-compose.yml @@ -0,0 +1,43 @@ +## Discord Plex FR : https://discord.gg/3gtABCH +## Version 2022-08-21 +version: '3.1' + +services: + ghost: + container_name: blog_ghost + image: ghost:5-alpine + restart: unless-stopped + ports: + - 2368:2368 + volumes: + - ./ghost_content:/var/lib/ghost/content + environment: + url: https://blog.ndd.fr # LIEN DU BLOG, peut ĂȘtre http://IP_LOCAL:2368 si utilisation local uniquement + database__client: mysql + database__connection__host: db + database__connection__user: root + database__connection__password: PASSWORD_SUPER_FORT # CHOISIR UN MOT DE PASSE + database__connection__database: ghost +# - DEBUT - CONFIGURATION MAIL - NON OBLIGATOIRE # +# mail__transport: SMTP +# mail__from: monmail@ndd.fr +# mail__options__service: SMTP +# mail__options__host: serveur.smtp.net +# mail__options__port: +# mail__options__auth__user: nom_utilisateur +# mail__options__auth__pass: mon_mot_de_passe +# - FIN - CONFIGURATION MAIL - NON OBLIGATOIRE # + depends_on: + - db + mem_limit: 512m + + db: + container_name: blog_db + image: mysql:8-debian + restart: unless-stopped + environment: + MYSQL_ROOT_PASSWORD: PASSWORD_SUPER_FORT # RE-UTILISER LE MOT DE PASSE CHOISI DANS LES VARIABLES DE GHOST + volumes: + - ./ghost_db:/var/lib/mysql + mem_limit: 768m + -- 2.45.2 From 74a695d65c5714b4722b2a60a297f4e60a38416b Mon Sep 17 00:00:00 2001 From: NightPumpkin Date: Sun, 25 Sep 2022 22:08:46 +0200 Subject: [PATCH 3/4] hasty-paste --- docker-compose/hasty-paste/docker-compose.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docker-compose/hasty-paste/docker-compose.yml diff --git a/docker-compose/hasty-paste/docker-compose.yml b/docker-compose/hasty-paste/docker-compose.yml new file mode 100644 index 0000000..0cd3633 --- /dev/null +++ b/docker-compose/hasty-paste/docker-compose.yml @@ -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 + -- 2.45.2 From 688d87bb66627a92aa16f019e515f056adea88f5 Mon Sep 17 00:00:00 2001 From: NightPumpkin Date: Sun, 25 Sep 2022 22:09:51 +0200 Subject: [PATCH 4/4] 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 -- 2.45.2