Update compose.yaml
This commit is contained in:
parent
16b22afe1d
commit
0809086611
1 changed files with 9 additions and 5 deletions
14
compose.yaml
14
compose.yaml
|
|
@ -2,9 +2,7 @@ name: cockatrice
|
||||||
|
|
||||||
services:
|
services:
|
||||||
servatrice:
|
servatrice:
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: .build/Dockerfile
|
|
||||||
image: git.jeirslab.xyz/jeirmeister/servatrice:latest
|
image: git.jeirslab.xyz/jeirmeister/servatrice:latest
|
||||||
ports:
|
ports:
|
||||||
- "${SERVER_PORT:-4747}:4747"
|
- "${SERVER_PORT:-4747}:4747"
|
||||||
|
|
@ -19,8 +17,7 @@ services:
|
||||||
- source: servatrice_config
|
- source: servatrice_config
|
||||||
target: /config/servatrice.ini
|
target: /config/servatrice.ini
|
||||||
mode: 0444
|
mode: 0444
|
||||||
profiles:
|
|
||||||
- build
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./.data/logs:/var/log/servatrice
|
- ./.data/logs:/var/log/servatrice
|
||||||
- ./.data/replays:/var/lib/servatrice/replays
|
- ./.data/replays:/var/lib/servatrice/replays
|
||||||
|
|
@ -30,6 +27,13 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- servatrice-net
|
- servatrice-net
|
||||||
|
servatrice-build:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: .build/Dockerfile
|
||||||
|
profiles:
|
||||||
|
- build
|
||||||
|
image: git.jeirslab.xyz/jeirmeister/servatrice:latest
|
||||||
|
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:10.11
|
image: mariadb:10.11
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue