Skip to content
Snippets Groups Projects
Commit 0cbd3673 authored by Andreas Burbach's avatar Andreas Burbach
Browse files

another try

parent d21f5ba4
No related branches found
No related tags found
Loading
Pipeline #75026 failed
version: "3" version: "3"
services: services:
web: web:
build: ./the-social-network build: ./the_social_network
image: ${REGISTRY}/feger/the-social-network/web:latest image: ${REGISTRY}/feger/the-social-network/web:latest
volumes: volumes:
- ./the-social-network:/code - ./the_social_network:/code
\ No newline at end of file \ No newline at end of file
...@@ -2,12 +2,12 @@ version: '3' ...@@ -2,12 +2,12 @@ version: '3'
services: services:
the_social_network: the_social_network:
container_name: the-social-network container_name: the_social_network
build: ./the-social-network build: ./the_social_network
restart: always 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" 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: volumes:
- ./the-social-network:/code - ./the_social_network:/code
networks: networks:
- webnet - webnet
...@@ -16,7 +16,7 @@ services: ...@@ -16,7 +16,7 @@ services:
image: nginx:latest image: nginx:latest
restart: always restart: always
depends_on: depends_on:
- solar - the_social_network
- certbot - certbot
volumes: volumes:
- ./nginx/production/:/etc/nginx/conf.d - ./nginx/production/:/etc/nginx/conf.d
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment