Refactor docker-compose.yml to remove unnecessary network configurations

This commit is contained in:
2024-05-27 13:46:58 +08:00
parent 8ab352b8a5
commit 514bcfc73f
+1 -3
View File
@@ -304,7 +304,6 @@ services:
privatebin: privatebin:
image: privatebin/nginx-fpm-alpine:latest image: privatebin/nginx-fpm-alpine:latest
container_name: privatebin
read_only: true read_only: true
user: "1000:1000" user: "1000:1000"
volumes: volumes:
@@ -320,7 +319,6 @@ services:
redlib: redlib:
image: quay.io/redlib/redlib:latest-arm image: quay.io/redlib/redlib:latest-arm
restart: unless-stopped restart: unless-stopped
container_name: redlib
user: nobody user: nobody
read_only: true read_only: true
security_opt: security_opt:
@@ -334,7 +332,7 @@ services:
interval: 5m interval: 5m
timeout: 3s timeout: 3s
expose: expose:
- 3080 # Specify `127.0.0.1:8080:8080` instead if using a reverse proxy - 3080 # Specify `127.0.0.1:8080:3080` instead if using a reverse proxy
networks: networks:
- net - net