use service profiles

This commit is contained in:
Yax 2022-03-05 14:59:24 +01:00
parent 1a3a900efa
commit dec11477a3
9 changed files with 16 additions and 79 deletions

View file

@ -4,6 +4,7 @@ services:
photoview-db:
container_name: photoview-db
image: mariadb:10.5
profiles: ["disabled"]
restart: unless-stopped
environment:
- MYSQL_DATABASE=photoview
@ -18,6 +19,7 @@ services:
photoview:
container_name: photoview
image: viktorstrate/photoview:2
profiles: ["disabled"]
restart: unless-stopped
expose:
- 80