feat: add networking and logging limits
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
eefece3173
commit
b60f84ee7b
|
@ -12,6 +12,14 @@ services:
|
|||
condition: service_healthy
|
||||
environment:
|
||||
- RUN_MIGRATIONS=1
|
||||
networks:
|
||||
- internal
|
||||
- proxy
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "1m"
|
||||
max-file: "1"
|
||||
db:
|
||||
image: postgres:15-alpine
|
||||
restart: unless-stopped
|
||||
|
@ -22,6 +30,13 @@ services:
|
|||
test: ["CMD", "pg_isready", "-U", "miniflux"]
|
||||
interval: 10s
|
||||
start_period: 30s
|
||||
networks:
|
||||
- internal
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "1m"
|
||||
max-file: "1"
|
||||
morss:
|
||||
image: pictuga/morss:latest
|
||||
restart: unless-stopped
|
||||
|
@ -38,6 +53,14 @@ services:
|
|||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
networks:
|
||||
- internal
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "1m"
|
||||
max-file: "1"
|
||||
|
||||
volumes:
|
||||
db:
|
||||
driver: local
|
||||
|
@ -45,3 +68,10 @@ volumes:
|
|||
type: none
|
||||
o: bind
|
||||
device: "/srv/docker/rss/db"
|
||||
|
||||
networks:
|
||||
internal:
|
||||
ipam:
|
||||
driver: default
|
||||
proxy:
|
||||
external: true
|
||||
|
|
Loading…
Reference in New Issue