forked from coop-cloud/outline
Pin postgres version, add persistent storage
This commit is contained in:
parent
c0dbc3f49d
commit
a341d6c5e8
16
compose.yml
16
compose.yml
|
@ -54,25 +54,15 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres:11
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: user
|
POSTGRES_USER: user
|
||||||
POSTGRES_PASSWORD: pass
|
POSTGRES_PASSWORD: pass
|
||||||
POSTGRES_DB: outline
|
POSTGRES_DB: outline
|
||||||
s3:
|
|
||||||
image: lphoward/fake-s3
|
|
||||||
networks:
|
|
||||||
- backend
|
|
||||||
volumes:
|
volumes:
|
||||||
- fakes3_data:/fakes3_root
|
- 'postgresql_data:/var/lib/postgresql/data'
|
||||||
#healthcheck:
|
|
||||||
# test: ["CMD", "curl", "-f", "http://localhost:4569"]
|
|
||||||
# interval: 30s
|
|
||||||
# timeout: 10s
|
|
||||||
# retries: 10
|
|
||||||
# start_period: 1m
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
@ -81,4 +71,4 @@ networks:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
outline_data:
|
outline_data:
|
||||||
fakes3_data:
|
postgres_data:
|
||||||
|
|
Loading…
Reference in New Issue