SpaceNinjaServer/docker-compose.yml
Sainan 61a8d01f64
All checks were successful
Build Docker image / docker-arm64 (push) Successful in 56s
Build Docker image / docker-amd64 (push) Successful in 59s
Build / build (push) Successful in 1m19s
ci: split docker amd64 & arm64 builds
2025-06-19 14:00:16 +02:00

28 lines
973 B
YAML

services:
spaceninjaserver:
# The image to use. If you have an ARM CPU, replace 'latest' with 'latest-arm64'.
image: openwf/spaceninjaserver:latest
volumes:
- ./docker-data/conf:/app/conf
- ./docker-data/static-data:/app/static/data
- ./docker-data/logs:/app/logs
ports:
- 80:80
- 443:443
# Normally, the image is fetched from Docker Hub, but you can use the local Dockerfile by removing "image" above and adding this:
#build: .
# Works best when using `docker-compose up --force-recreate --build`.
depends_on:
- mongodb
mongodb:
image: docker.io/library/mongo:8.0.0-noble
environment:
MONGO_INITDB_ROOT_USERNAME: openwfagent
MONGO_INITDB_ROOT_PASSWORD: spaceninjaserver
volumes:
- ./docker-data/database:/data/db
command: mongod --quiet --logpath /dev/null