Skip to content

Commit

Permalink
Docker: Remove container_name from examples where not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
lastzero committed Sep 25, 2021
1 parent 040488c commit 96168e4
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions docker/examples/arm64/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ services:
photoprism:
# Use photoprism/photoprism:preview instead for testing preview builds:
image: photoprism/photoprism:latest
container_name: photoprism
depends_on:
- mariadb
# Only enable automatic restarts once your installation is properly
Expand Down Expand Up @@ -102,7 +101,6 @@ services:
mariadb:
restart: unless-stopped
image: arm64v8/mariadb:10.5
container_name: mariadb
security_opt:
- seccomp:unconfined
- apparmor:unconfined
Expand All @@ -120,7 +118,6 @@ services:
# watchtower:
# restart: unless-stopped
# image: containrrr/watchtower
# container_name: watchtower
# environment:
# WATCHTOWER_CLEANUP: "true"
# WATCHTOWER_POLL_INTERVAL: 7200 # Checks for updates every two hours
Expand Down
3 changes: 0 additions & 3 deletions docker/examples/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ services:
photoprism:
# Use photoprism/photoprism:preview instead for testing preview builds:
image: photoprism/photoprism:latest
container_name: photoprism
depends_on:
- mariadb
# Only enable automatic restarts once your installation is properly
Expand Down Expand Up @@ -96,7 +95,6 @@ services:
mariadb:
restart: unless-stopped
image: mariadb:10.5
container_name: mariadb
security_opt:
- seccomp:unconfined
- apparmor:unconfined
Expand All @@ -114,7 +112,6 @@ services:
# watchtower:
# restart: unless-stopped
# image: containrrr/watchtower
# container_name: watchtower
# environment:
# WATCHTOWER_CLEANUP: "true"
# WATCHTOWER_POLL_INTERVAL: 7200 # Checks for updates every two hours
Expand Down
3 changes: 0 additions & 3 deletions docker/examples/macos/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ services:
photoprism:
# Use photoprism/photoprism:preview instead for testing preview builds:
image: photoprism/photoprism:latest
container_name: photoprism
depends_on:
- mariadb
# Only enable automatic restarts once your installation is properly
Expand Down Expand Up @@ -86,7 +85,6 @@ services:
mariadb:
restart: unless-stopped
image: mariadb:10.5
container_name: mariadb
security_opt:
- seccomp:unconfined
- apparmor:unconfined
Expand All @@ -104,7 +102,6 @@ services:
# watchtower:
# restart: unless-stopped
# image: containrrr/watchtower
# container_name: watchtower
# environment:
# WATCHTOWER_CLEANUP: "true"
# WATCHTOWER_POLL_INTERVAL: 7200 # Checks for updates every two hours
Expand Down
2 changes: 0 additions & 2 deletions docker/examples/sqlite/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ services:
photoprism:
# Use photoprism/photoprism:preview instead for testing preview builds:
image: photoprism/photoprism:latest
container_name: photoprism
# Only enable automatic restarts once your installation is properly
# 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
Expand Down Expand Up @@ -91,7 +90,6 @@ services:
# watchtower:
# restart: unless-stopped
# image: containrrr/watchtower
# container_name: watchtower
# environment:
# WATCHTOWER_CLEANUP: "true"
# WATCHTOWER_POLL_INTERVAL: 7200 # Checks for updates every two hours
Expand Down
3 changes: 0 additions & 3 deletions docker/examples/windows/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ services:
photoprism:
# Use photoprism/photoprism:preview instead for testing preview builds:
image: photoprism/photoprism:latest
container_name: photoprism
depends_on:
- mariadb
# Only enable automatic restarts once your installation is properly
Expand Down Expand Up @@ -89,7 +88,6 @@ services:
mariadb:
restart: unless-stopped
image: mariadb:10.5
container_name: mariadb
security_opt:
- seccomp:unconfined
- apparmor:unconfined
Expand All @@ -107,7 +105,6 @@ services:
# watchtower:
# restart: unless-stopped
# image: containrrr/watchtower
# container_name: watchtower
# environment:
# WATCHTOWER_CLEANUP: "true"
# WATCHTOWER_POLL_INTERVAL: 7200 # Checks for updates every two hours
Expand Down

0 comments on commit 96168e4

Please sign in to comment.