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

changes solar stuff to son

parent d3a725a5
No related branches found
No related tags found
1 merge request!1Merge feedingChickenWithChicken into main
Pipeline #75025 failed
version: "3" version: "3"
services: services:
web: web:
build: ./solar build: ./the-social-network
image: ${REGISTRY}/cn-tsn/project/solar/web:latest image: ${REGISTRY}/feger/the-social-network/web:latest
volumes: volumes:
- ./solar:/code - ./the-social-network:/code
\ No newline at end of file \ No newline at end of file
version: '3' version: '3'
services: services:
solar: the_social_network:
container_name: solar container_name: the-social-network
build: ./solar build: ./the-social-network
restart: always 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: volumes:
- ./solar:/code - ./the-social-network:/code
networks: networks:
- webnet - webnet
...@@ -20,9 +20,6 @@ services: ...@@ -20,9 +20,6 @@ services:
- certbot - certbot
volumes: volumes:
- ./nginx/production/:/etc/nginx/conf.d - ./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/conf:/etc/letsencrypt
- ./nginx/certbot/www:/var/www/certbot - ./nginx/certbot/www:/var/www/certbot
networks: networks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment