Update nametag/docker-compose.yml
This commit is contained in:
1 parent
124d08c0fd
commit
85de5b7c18
1 file changed
+5
-5
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: postgres:16-alpine
|
image: ${NAMETAG_POSTGRES_IMAGE:?set in versions.env}
|
||||||
container_name: nametag-db
|
container_name: nametag-db
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
@@ -23,7 +23,7 @@ services:
|
|||||||
- nametag-network
|
- nametag-network
|
||||||
|
|
||||||
redis: # Optional. Comment out to disable Redis. See README.md for more details.
|
redis: # Optional. Comment out to disable Redis. See README.md for more details.
|
||||||
image: redis:7-alpine
|
image: ${NAMETAG_REDIS_IMAGE:?set in versions.env}
|
||||||
container_name: nametag-redis
|
container_name: nametag-redis
|
||||||
restart: always
|
restart: always
|
||||||
command: redis-server --requirepass ${REDIS_PASSWORD:?Redis password required}
|
command: redis-server --requirepass ${REDIS_PASSWORD:?Redis password required}
|
||||||
@@ -40,7 +40,7 @@ services:
|
|||||||
- nametag-network
|
- nametag-network
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: ghcr.io/mattogodoy/nametag:latest
|
image: ${NAMETAG_IMAGE:?set in versions.env}
|
||||||
container_name: nametag-app
|
container_name: nametag-app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
@@ -77,7 +77,7 @@ services:
|
|||||||
|
|
||||||
# Database backup service
|
# Database backup service
|
||||||
backup:
|
backup:
|
||||||
image: prodrigestivill/postgres-backup-local
|
image: ${NAMETAG_BACKUP_IMAGE:?set in versions.env}
|
||||||
container_name: nametag-backup
|
container_name: nametag-backup
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
@@ -99,7 +99,7 @@ services:
|
|||||||
|
|
||||||
# Cron service for scheduled jobs
|
# Cron service for scheduled jobs
|
||||||
cron:
|
cron:
|
||||||
image: alpine:3.19
|
image: ${NAMETAG_CRON_IMAGE:?set in versions.env}
|
||||||
container_name: nametag-cron
|
container_name: nametag-cron
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in new issue
Block a user