mirror of
https://github.com/Steffo99/distributed-arcade.git
synced 2024-11-23 16:44:24 +00:00
Add example docker-compose.yml file
This commit is contained in:
parent
61a572f9de
commit
3e3c9dc9a8
2 changed files with 22 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
/target
|
||||
/data
|
||||
|
|
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal 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!
|
Loading…
Reference in a new issue