miniflux/.devcontainer/docker-compose.yml

32 lines
722 B
YAML
Raw Permalink Normal View History

version: '3.8'
services:
app:
image: mcr.microsoft.com/devcontainers/go:1.22
volumes:
- ..:/workspace:cached
command: sleep infinity
network_mode: service:db
environment:
- CREATE_ADMIN=1
- ADMIN_USERNAME=admin
- ADMIN_PASSWORD=test123
db:
image: postgres:15
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
hostname: postgres
environment:
POSTGRES_DB: miniflux2
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 5432:5432
2023-08-01 05:55:17 +02:00
apprise:
image: caronc/apprise:1.0
2023-08-01 05:55:17 +02:00
restart: unless-stopped
hostname: apprise
volumes:
postgres-data: null