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
+3 -1
View File
@@ -3,7 +3,8 @@ version: '3'
services:
postgres:
container_name: photonix-postgres
image: postgres:11.1-alpine
image: postgres:11.1-alpine
profiles: ["disabled"]
environment:
POSTGRES_DB: photonix
POSTGRES_PASSWORD: password
@@ -21,6 +22,7 @@ services:
photonix:
container_name: photonix
image: photonixapp/photonix:latest
profiles: ["disabled"]
expose:
- 80
environment:
+2
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