Commit d21f5ba4 authored by Andreas Burbach's avatar Andreas Burbach
Browse files

changes solar stuff to son

parent d3a725a5
Pipeline #75025 failed with stages
in 18 seconds
version: "3"
services:
web:
build: ./solar
image: ${REGISTRY}/cn-tsn/project/solar/web:latest
build: ./the-social-network
image: ${REGISTRY}/feger/the-social-network/web:latest
volumes:
- ./solar:/code
\ No newline at end of file
- ./the-social-network:/code
\ No newline at end of file
version: '3'
services:
solar:
container_name: solar
build: ./solar
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=solar.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:
- ./solar:/code
- ./the-social-network:/code
networks:
- webnet
......@@ -20,9 +20,6 @@ services:
- certbot
volumes:
- ./nginx/production/:/etc/nginx/conf.d
- ./solar/django_static/:/code/django_static
- ./solar/media/:/code/media
- ./fairing/build:/var/www/fairing
- ./nginx/certbot/conf:/etc/letsencrypt
- ./nginx/certbot/www:/var/www/certbot
networks:
......
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