mirror of
https://gitea.zaclys.com/yannic/selfhosting.git
synced 2026-04-25 08:54:24 +02:00
use service profiles
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user