2022-11-12 23:20:30 +00:00
|
|
|
# Example Docker Compose file setup to run the Distributed Arcade stack with a single node
|
|
|
|
# Not really distributed, is it?
|
2023-01-09 09:41:56 +00:00
|
|
|
# To be used with Portainer
|
2022-11-12 23:20:30 +00:00
|
|
|
|
|
|
|
version: "3.9"
|
|
|
|
|
2023-01-09 09:41:56 +00:00
|
|
|
volumes:
|
|
|
|
redis_data:
|
|
|
|
driver: local
|
|
|
|
|
2022-11-12 23:20:30 +00:00
|
|
|
services:
|
|
|
|
redis:
|
|
|
|
image: "redis:7.0.5"
|
|
|
|
command: >-
|
|
|
|
redis-server
|
|
|
|
--save 60 1
|
|
|
|
--loglevel notice
|
|
|
|
volumes:
|
2023-01-09 09:41:56 +00:00
|
|
|
- "redis_data/redis:/data"
|
2022-11-12 23:20:30 +00:00
|
|
|
distributedarcade:
|
|
|
|
image: "ghcr.io/steffo99/distributed-arcade:latest"
|
|
|
|
environment:
|
|
|
|
REDIS_CONN_STRING: "redis://redis:6379/"
|
|
|
|
AXUM_HOST_STRING: "0.0.0.0:80"
|
2023-01-09 04:18:08 +00:00
|
|
|
env_file:
|
|
|
|
- "stack.env"
|
2022-11-12 23:20:30 +00:00
|
|
|
ports:
|
|
|
|
- "127.0.0.1:30038:80" # Reverse proxy this!
|