goshorly/docker-compose.yml

27 lines
734 B
YAML
Raw Normal View History

2021-12-07 14:49:58 +00:00
version: "3"
services:
web:
2021-12-07 19:23:27 +00:00
# build: . # Only if you want to Build the image on your own Server!
2021-12-07 17:18:00 +00:00
image: registry.ucode.space/phil/goshorly:latest
2021-12-07 19:23:27 +00:00
environment:
- HOST=your_domain_or_ip # Domain or IP-Adress
2021-12-08 13:11:35 +00:00
- PORT=3000 # The Port you want to use
2021-12-07 19:23:27 +00:00
- HTTPS=false # If you want to use HTTPS
- PROXY=false # If you want to use a Reverse Proxy
2021-12-08 13:11:35 +00:00
- REDIS_URI=redis # The Redis-URI (name of redis container OOTB)
2021-12-07 14:49:58 +00:00
ports:
- "3000:3000"
depends_on:
- redis
restart: always
redis:
image: redis:alpine
command: redis-server --appendonly yes
volumes:
- db:/data
restart: always
volumes:
2021-12-07 17:18:00 +00:00
db: