From 86eb6f8e1ec503e152c040ace978dad6b9cf71e4 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 7 Apr 2023 09:38:32 -0700 Subject: [PATCH] Switch containers to use volume mounts --- jafner-net/config/peertube/docker-compose.yml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/jafner-net/config/peertube/docker-compose.yml b/jafner-net/config/peertube/docker-compose.yml index 759aee4..b9e25c0 100644 --- a/jafner-net/config/peertube/docker-compose.yml +++ b/jafner-net/config/peertube/docker-compose.yml @@ -24,10 +24,10 @@ services: - "11935:1935" # Livestream RTMP port volumes: - peertube-assets:/app/client/dist - - peertube-data:/data - #- ${PEERTUBE_DATA_VOLUME}:/data - - peertube-config:/config - #- ${PEERTUBE_CONFIG_VOLUME}:/config + #- peertube-data:/data + - ${PEERTUBE_DATA_VOLUME}:/data + #- peertube-config:/config + - ${PEERTUBE_CONFIG_VOLUME}:/config labels: - "traefik.http.routers.peertube.rule=Host(`video.jafner.net`)" - "traefik.http.routers.peertube.tls.certresolver=lets-encrypt" @@ -47,8 +47,8 @@ services: - postgres.env - postgres_secrets.env volumes: - - postgres-config:/var/lib/postgresql/data - #- ${POSTGRES_CONFIG_VOLUME}:/var/lib/postgresql/data + #- postgres-config:/var/lib/postgresql/data + - ${POSTGRES_CONFIG_VOLUME}:/var/lib/postgresql/data restart: "no" redis: @@ -57,8 +57,8 @@ services: networks: - peertube volumes: - - redis-config:/data - #- ${REDIS_CONFIG_VOLUME}:/data + #- redis-config:/data + - ${REDIS_CONFIG_VOLUME}:/data restart: "no" postfix: @@ -69,8 +69,8 @@ services: env_file: - postfix.env volumes: - - postfix-config:/etc/opendkim/keys - #- ${POSTFIX_CONFIG_VOLUME}:/etc/opendkim/keys + #- postfix-config:/etc/opendkim/keys + - ${POSTFIX_CONFIG_VOLUME}:/etc/opendkim/keys restart: "no" networks: @@ -84,8 +84,8 @@ networks: volumes: peertube-assets: - peertube-config: - peertube-data: - postgres-config: - redis-config: - postfix-config: + #peertube-config: + #peertube-data: + #postgres-config: + #redis-config: + #postfix-config: