mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-25 16:49:26 +01:00
734b11c926
- updated config.js template to support environment variables
25 lines
392 B
YAML
25 lines
392 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
redis:
|
|
image: redis:6.0.9-alpine3.12
|
|
command: redis-server
|
|
environment:
|
|
- REDIS_REPLICATION_MODE=master
|
|
ports:
|
|
- "6379:6379"
|
|
networks:
|
|
- teddit_net
|
|
web:
|
|
build: .
|
|
environment:
|
|
- REDIS_HOST=redis
|
|
ports:
|
|
- 8080:8080
|
|
networks:
|
|
- teddit_net
|
|
depends_on:
|
|
- redis
|
|
networks:
|
|
teddit_net:
|