diff --git a/docker-compose.yml b/docker-compose.yml index d5b9db0..9941914 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -121,8 +121,8 @@ services: # LINK_DRIP_SHORT_LINK_DOMAIN: "dripl.ink" volumes: - - postiz-config:/config/ - - postiz-uploads:/uploads/ + - ./postiz-config:/config/ + - ./postiz-uploads:/uploads/ # ports: # - 5000:5000 network_mode: service:postiz-ts @@ -141,9 +141,10 @@ services: POSTGRES_USER: postiz-user POSTGRES_DB: postiz-db-local volumes: - - postgres-volume:/var/lib/postgresql/data - networks: - - postiz-network + - ./postgres-volume:/var/lib/postgresql/data + network_mode: service:postiz-ts + depends_on: + - postiz-ts healthcheck: test: pg_isready -U postiz-user -d postiz-db-local interval: 10s @@ -159,9 +160,9 @@ services: timeout: 3s retries: 3 volumes: - - postiz-redis-data:/data + - ./postiz-redis-data:/data network_mode: service:postiz-ts - depends_on: + depends_on: - postiz-ts # For Application Monitoring / Debugging @@ -172,19 +173,5 @@ services: # - 8969:8969/tcp image: ghcr.io/getsentry/spotlight:latest network_mode: service:postiz-ts - depends_on: - - postiz-ts - - -volumes: - postgres-volume: - external: false - - postiz-redis-data: - external: false - - postiz-config: - external: false - - postiz-uploads: - external: false + depends_on: + - postiz-ts \ No newline at end of file