Pin postgres version, add persistent storage

This commit is contained in:
3wc 2021-11-16 16:23:48 +02:00
parent c0dbc3f49d
commit a341d6c5e8
1 changed files with 3 additions and 13 deletions

View File

@ -54,25 +54,15 @@ services:
networks:
- backend
postgres:
image: postgres
image: postgres:11
networks:
- backend
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: pass
POSTGRES_DB: outline
s3:
image: lphoward/fake-s3
networks:
- backend
volumes:
- fakes3_data:/fakes3_root
#healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:4569"]
# interval: 30s
# timeout: 10s
# retries: 10
# start_period: 1m
- 'postgresql_data:/var/lib/postgresql/data'
networks:
proxy:
@ -81,4 +71,4 @@ networks:
volumes:
outline_data:
fakes3_data:
postgres_data: