Remove hardcoded container names for DokPloy compatibility

This commit is contained in:
Jennie Robinson Faber 2026-03-29 21:17:05 +01:00
parent cda610dc01
commit b4bd938ac3

View file

@ -1,7 +1,7 @@
services: services:
nginx: nginx:
image: nginx:alpine image: nginx:alpine
container_name: outline-nginx
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- outline - outline
@ -14,7 +14,7 @@ services:
outline: outline:
image: docker.getoutline.com/outlinewiki/outline:1.6.1 image: docker.getoutline.com/outlinewiki/outline:1.6.1
container_name: outline
restart: unless-stopped restart: unless-stopped
env_file: env_file:
- .env - .env
@ -28,7 +28,7 @@ services:
postgres: postgres:
image: postgres:16-alpine image: postgres:16-alpine
container_name: outline-postgres
restart: unless-stopped restart: unless-stopped
environment: environment:
POSTGRES_USER: outline POSTGRES_USER: outline
@ -54,7 +54,7 @@ services:
redis: redis:
image: redis:7-alpine image: redis:7-alpine
container_name: outline-redis
restart: unless-stopped restart: unless-stopped
command: > command: >
redis-server redis-server
@ -71,7 +71,7 @@ services:
cron: cron:
build: build:
context: ./cron context: ./cron
container_name: outline-cron
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- postgres - postgres