From ce49f0b99eea208099ac1dbd7506869f1faef394 Mon Sep 17 00:00:00 2001 From: Marijn Doeve Date: Sun, 22 Jan 2023 16:28:13 +0100 Subject: [PATCH] Disable web --- compose.yaml | 48 +++++++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/compose.yaml b/compose.yaml index 13c42d3..c5453d6 100644 --- a/compose.yaml +++ b/compose.yaml @@ -15,7 +15,9 @@ services: - internal db: - image: postgres:14 + image: postgres:15 + profiles: + - disabled container_name: mc-db environment: TZ: Europe/Amsterdam @@ -28,6 +30,8 @@ services: web: image: php:7.4-apache + profiles: + - disabled container_name: mc-web environment: TZ: Europe/Amsterdam @@ -45,26 +49,28 @@ services: - internal - web - # backup: - # image: itzg/mc-backup - # container_name: mc-backup - # environment: - # TZ: Europe/Amsterdam - # PRUNE_BACKUPS_DAY: 7 - # BACKUP_INTERVAL: "30m" - # INITAL_DELAY: "120" - # PAUSE_IF_NO_PLAYERS: "true" - # RCON_HOST: omb - # RCON_PASSWORD: minecraft - # LINK_LATEST: "true" - # volumes: - # - /opt/minecraft/data:/data:ro - # - backup_volume:/backups - # depends_on: - # - omb - # networks: - # - internal - # restart: unless-stopped + backup: + image: itzg/mc-backup + profiles: + - disabled + container_name: mc-backup + environment: + TZ: Europe/Amsterdam + PRUNE_BACKUPS_DAY: 7 + BACKUP_INTERVAL: "30m" + INITAL_DELAY: "120" + PAUSE_IF_NO_PLAYERS: "true" + RCON_HOST: omb + RCON_PASSWORD: minecraft + LINK_LATEST: "true" + volumes: + - /opt/minecraft/data:/data:ro + - backup_volume:/backups + depends_on: + - omb + networks: + - internal + restart: unless-stopped omb: image: itzg/minecraft-server