1
Fork 0
mirror of https://github.com/Steffo99/distributed-arcade.git synced 2024-11-24 00:54:26 +00:00

Add example docker-compose.yml file

This commit is contained in:
Steffo 2022-11-13 00:20:30 +01:00
parent 61a572f9de
commit 3e3c9dc9a8
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 22 additions and 0 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/target
/data

21
docker-compose.yml Normal file
View file

@ -0,0 +1,21 @@
# Example Docker Compose file setup to run the Distributed Arcade stack with a single node
# Not really distributed, is it?
version: "3.9"
services:
redis:
image: "redis:7.0.5"
command: >-
redis-server
--save 60 1
--loglevel notice
volumes:
- "./data/redis:/data"
distributedarcade:
image: "ghcr.io/steffo99/distributed-arcade:latest"
environment:
REDIS_CONN_STRING: "redis://redis:6379/"
AXUM_HOST_STRING: "0.0.0.0:80"
ports:
- "127.0.0.1:30038:80" # Reverse proxy this!