diff --git a/server/config/paperless/docker-compose.yml b/server/config/paperless/docker-compose.yml index 9b30bda..a3a1bb2 100644 --- a/server/config/paperless/docker-compose.yml +++ b/server/config/paperless/docker-compose.yml @@ -3,12 +3,16 @@ services: redis: # originally called 'broker' image: docker.io/library/redis:7 container_name: paperless_redis + networks: + - paperless volumes: - redis:/data mariadb: # originally called 'db' image: docker.io/library/mariadb:10 container_name: paperless_mariadb + networks: + - paperless volumes: - mariadb:/var/lib/mysql env_file: @@ -18,6 +22,9 @@ services: paperless: image: ghcr.io/paperless-ngx/paperless-ngx:latest container_name: paperless_paperless + networks: + - web + - paperless depends_on: - mariadb - redis @@ -40,4 +47,9 @@ services: volumes: mariadb: - redis: \ No newline at end of file + redis: + +networks: + web: + external: true + paperless: \ No newline at end of file