commit 3eed778193d1b8839f660d6182439e29f6b6698c Author: LinuxSquare Date: Fri Mar 1 11:59:41 2024 +0100 first commit diff --git a/config.json b/config.json new file mode 100644 index 0000000..345d569 --- /dev/null +++ b/config.json @@ -0,0 +1,13 @@ +{ + "network": { + "name": "crafatar" + }, + "container": { + "name": "crafatar_server", + "hasEnvVars": false, + "hasServiceIPs": true, + "serviceIPs": [ + "127.0.0.2:80:3000" + ] + } +} diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..ecf9eeb --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,22 @@ +version: '3' +services: + crafatar_redis: + image: docker.io/redis:alpine + restart: unless-stopped + networks: + - crafatar + + crafatar_server: + image: docker.io/crafatar/crafatar + restart: unless-stopped + depends_on: + - crafatar_redis + volumes: + - ./data:/home/app/crafatar/images + environment: + - REDIS_URL=redis://crafatar_redis + networks: + - crafatar + +networks: + crafatar: