Remove local postgres

This commit is contained in:
otthorn 2021-03-21 14:52:09 +01:00
parent b3a435f1de
commit 651b402e64

View file

@ -55,19 +55,6 @@ services:
environment: environment:
- "DISCORD_WEBHOOK=${PROMETHEUS_DISCORD_WEBHOOK}" - "DISCORD_WEBHOOK=${PROMETHEUS_DISCORD_WEBHOOK}"
postgres:
# Don't upgrade PostgreSQL by simply changing the version number
# You need to migrate the Database to the new PostgreSQL version
# When creating for the first time,
# you need to create codimd and cas users and databases.
image: postgres:9.6-alpine
restart: always
environment:
- POSTGRES_USER=postgres
- "POSTGRES_PASSWD=${POSTGRES_PASSWD}"
volumes:
- ./postgres_data:/var/lib/postgresql/data
codimd: codimd:
build: codimd build: codimd
restart: always restart: always