31 lines
765 B
YAML
31 lines
765 B
YAML
services:
|
|
app:
|
|
image: mcr.microsoft.com/devcontainers/go:1-trixie # https://www.debian.org/releases/trixie/index.en.html
|
|
volumes:
|
|
- ..:/workspace:cached
|
|
command: sleep infinity
|
|
network_mode: service:db
|
|
environment:
|
|
- CREATE_ADMIN=1
|
|
- ADMIN_USERNAME=admin
|
|
- ADMIN_PASSWORD=test123
|
|
db:
|
|
image: postgres:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql
|
|
hostname: postgres
|
|
environment:
|
|
POSTGRES_DB: miniflux2
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
|
ports:
|
|
- 5432:5432
|
|
apprise:
|
|
image: caronc/apprise:1.0
|
|
restart: unless-stopped
|
|
hostname: apprise
|
|
volumes:
|
|
postgres-data: null
|