Commit 0cbd3673 authored by Andreas Burbach's avatar Andreas Burbach
Browse files

another try

parent d21f5ba4
Pipeline #75026 failed with stages
in 15 seconds
version: "3"
services:
web:
build: ./the-social-network
build: ./the_social_network
image: ${REGISTRY}/feger/the-social-network/web:latest
volumes:
- ./the-social-network:/code
\ No newline at end of file
- ./the_social_network:/code
\ No newline at end of file
......@@ -2,12 +2,12 @@ version: '3'
services:
the_social_network:
container_name: the-social-network
build: ./the-social-network
container_name: the_social_network
build: ./the_social_network
restart: always
command: sh -c "pipenv run python manage.py collectstatic --noinput && pipenv run uwsgi --socket=:9000 --module=the_social_network.wsgi:application --py-autoreload=1"
volumes:
- ./the-social-network:/code
- ./the_social_network:/code
networks:
- webnet
......@@ -16,7 +16,7 @@ services:
image: nginx:latest
restart: always
depends_on:
- solar
- the_social_network
- certbot
volumes:
- ./nginx/production/:/etc/nginx/conf.d
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment