From 2fcb4a3dd8155f5c10ae94878cefcb565711b029 Mon Sep 17 00:00:00 2001 From: Kaede Fujisaki Date: Mon, 21 Jun 2021 09:50:11 +0900 Subject: [PATCH] rename directory --- .gitignore | 3 ++- docker-compose.yml | 14 +++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index a5e523b..faec771 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -/volume/ \ No newline at end of file +/var/ + diff --git a/docker-compose.yml b/docker-compose.yml index 7af91f9..b8059dd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,7 +25,7 @@ services: source: ./images/nginx/peertube.conf target: /etc/nginx/conf.d/peertube.template - assets:/var/www/peertube/peertube-latest/client/dist:ro - - ./volume/peertube/data:/var/www/peertube/storage + - ./var/peertube/data:/var/www/peertube/storage depends_on: - peertube restart: "always" @@ -47,8 +47,8 @@ services: - '1935:1935' volumes: - assets:/app/client/dist - - ./volume/peertube/data:/data - - ./volume/peertube/config:/config + - ./var/peertube/data:/data + - ./var/peertube/config:/config depends_on: - postgres - redis @@ -60,7 +60,7 @@ services: env_file: - .env volumes: - - ./volume/db:/var/lib/postgresql/data + - ./var/db:/var/lib/postgresql/data restart: "always" networks: - motibus-link @@ -68,7 +68,7 @@ services: redis: image: redis:6-alpine volumes: - - ./volume/redis:/data + - ./var/redis:/data restart: "always" networks: - motibus-link @@ -78,7 +78,7 @@ services: env_file: - .env volumes: - - ./volume/opendkim/keys:/etc/opendkim/keys + - ./var/opendkim/keys:/etc/opendkim/keys restart: "always" networks: - motibus-link @@ -95,4 +95,4 @@ networks: name: planet-link volumes: - assets: \ No newline at end of file + assets: