2024-02-14 19:00:32 +01:00
|
|
|
networks:
|
|
|
|
plakken:
|
|
|
|
external: false
|
|
|
|
|
|
|
|
services:
|
|
|
|
server:
|
|
|
|
build:
|
2024-05-11 14:54:55 +02:00
|
|
|
context: ../../
|
|
|
|
dockerfile: deployment/docker/Dockerfile
|
2024-02-14 19:00:32 +01:00
|
|
|
restart: always
|
|
|
|
container_name: plakken
|
|
|
|
networks:
|
|
|
|
- plakken
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
environment:
|
|
|
|
- PLAKKEN_REDIS_ADDRESS=redis:6379
|
|
|
|
- POSTGRES_PASSWORD=gitea
|
|
|
|
- PLAKKEN_REDIS_DB=0
|
|
|
|
- PLAKKEN_URL_LENGTH=5
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
redis:
|
|
|
|
image: redis:7-alpine
|
|
|
|
restart: always
|
|
|
|
healthcheck:
|
|
|
|
test: [ "CMD", "redis-cli", "ping" ]
|
|
|
|
networks:
|
2024-05-11 01:05:09 +02:00
|
|
|
- plakken
|