Moving to central bridge network; standarizing container names
This commit is contained in:
@@ -35,7 +35,8 @@ services:
|
|||||||
# Only enable automatic restarts once your installation is properly
|
# Only enable automatic restarts once your installation is properly
|
||||||
# configured as it otherwise may get stuck in a restart loop:
|
# configured as it otherwise may get stuck in a restart loop:
|
||||||
# https://docs.photoprism.org/getting-started/faq/#why-is-photoprism-getting-stuck-in-a-restart-loop
|
# https://docs.photoprism.org/getting-started/faq/#why-is-photoprism-getting-stuck-in-a-restart-loop
|
||||||
# restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
container_name: photoprism_server
|
||||||
security_opt:
|
security_opt:
|
||||||
- seccomp:unconfined
|
- seccomp:unconfined
|
||||||
- apparmor:unconfined
|
- apparmor:unconfined
|
||||||
@@ -85,6 +86,7 @@ services:
|
|||||||
- "./storage:/photoprism/storage"
|
- "./storage:/photoprism/storage"
|
||||||
|
|
||||||
mariadb:
|
mariadb:
|
||||||
|
container_name: photoprism_db
|
||||||
image: mariadb:10.5
|
image: mariadb:10.5
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
security_opt:
|
security_opt:
|
||||||
@@ -98,11 +100,7 @@ services:
|
|||||||
MYSQL_DATABASE: photoprism
|
MYSQL_DATABASE: photoprism
|
||||||
MYSQL_USER: photoprism
|
MYSQL_USER: photoprism
|
||||||
MYSQL_PASSWORD: insecure
|
MYSQL_PASSWORD: insecure
|
||||||
|
networks:
|
||||||
# Uncomment the following lines to upgrade automatically, whenever there is a new Docker image available:
|
default:
|
||||||
#
|
external: true
|
||||||
# watchtower:
|
name: gerbil_network
|
||||||
# image: containrrr/watchtower
|
|
||||||
# restart: unless-stopped
|
|
||||||
# volumes:
|
|
||||||
# - "/var/run/docker.sock:/var/run/docker.sock"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user