Skip to content
Snippets Groups Projects
Commit 25d749e3 authored by Jan Maximilian Michal's avatar Jan Maximilian Michal Committed by Jan Maximilian Michal
Browse files

Added the postgres container to the network

parent 38c42d20
Branches
Tags
1 merge request!57Added the postgres container to the network
Pipeline #
......@@ -3,22 +3,17 @@ version: '3'
services:
postgres:
image: postgres:9.5
image: postgres:9.6
restart: always
networks:
- default
volumes:
- data/staging:/var/lib/postgresql/data
grady:
image: docker.gitlab.gwdg.de/j.michal/grady:master
command:
- /bin/sh
- -c
- |
sleep 5
python manage.py migrate --noinput
gunicorn \
--bind 0.0.0.0:8000 \
--workers=2 \
--worker-class=gevent \
grady.wsgi:application
- ./deploy.sh
depends_on:
- postgres
restart: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment