first commit
This commit is contained in:
commit
3eed778193
2 changed files with 35 additions and 0 deletions
13
config.json
Normal file
13
config.json
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"network": {
|
||||||
|
"name": "crafatar"
|
||||||
|
},
|
||||||
|
"container": {
|
||||||
|
"name": "crafatar_server",
|
||||||
|
"hasEnvVars": false,
|
||||||
|
"hasServiceIPs": true,
|
||||||
|
"serviceIPs": [
|
||||||
|
"127.0.0.2:80:3000"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
|
@ -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:
|
Loading…
Reference in a new issue