fix-docker (#1)
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
36
docker-compose.yml
Normal file
36
docker-compose.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
volumes:
|
||||
- ./data/db:/opt/app/data/db
|
||||
env_file:
|
||||
- path: ./.env
|
||||
required: true
|
||||
depends_on:
|
||||
apprise:
|
||||
condition: service_healthy
|
||||
links:
|
||||
- apprise
|
||||
apprise:
|
||||
image: caronc/apprise:latest
|
||||
hostname: apprise
|
||||
environment:
|
||||
- APPRISE_WORKER_COUNT=1
|
||||
- APPRISE_STATEFUL_MODE=simple
|
||||
# - PUID=$(id -u)
|
||||
# - PGID=$(id -g)
|
||||
volumes:
|
||||
- ./data/apprise/config:/config
|
||||
- ./data/apprise/plugin:/plugin
|
||||
- ./data/apprise/attach:/attach
|
||||
ports:
|
||||
- 8000:8000
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8000/status"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
# networks:
|
||||
# default:
|
||||
# external: true
|
||||
# name: npm
|
||||
Reference in New Issue
Block a user