|
|
@ -10,6 +10,7 @@ services:
|
|
|
|
- internal
|
|
|
|
- internal
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- "8001:8001"
|
|
|
|
- "8001:8001"
|
|
|
|
|
|
|
|
|
|
|
|
db:
|
|
|
|
db:
|
|
|
|
image: mariadb:11
|
|
|
|
image: mariadb:11
|
|
|
|
restart: unless-stopped
|
|
|
|
restart: unless-stopped
|
|
|
@ -30,6 +31,22 @@ services:
|
|
|
|
networks:
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
- internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Watchtower is a service that will automatically update your running containers
|
|
|
|
|
|
|
|
# when a new image is available. This is useful for keeping your server up-to-date.
|
|
|
|
|
|
|
|
# see https://containrrr.dev/watchtower/ for more information.
|
|
|
|
|
|
|
|
watchtower:
|
|
|
|
|
|
|
|
image: containrrr/watchtower
|
|
|
|
|
|
|
|
container_name: watchtower
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
security_opt:
|
|
|
|
|
|
|
|
- no-new-privileges:true
|
|
|
|
|
|
|
|
environment:
|
|
|
|
|
|
|
|
WATCHTOWER_CLEANUP: true
|
|
|
|
|
|
|
|
WATCHTOWER_SCHEDULE: "@midnight"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
database:
|
|
|
|
database:
|
|
|
|
|
|
|
|
|
|
|
|