diff --git a/docker-compose.ci.yml b/docker-compose.ci.yml index c41df4fd52e79bab3e92e8bbf96fabd21219bcfc..0f0ff87877d3eab802235337eae733cffdf7a2b8 100644 --- a/docker-compose.ci.yml +++ b/docker-compose.ci.yml @@ -1,7 +1,7 @@ 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 diff --git a/docker-compose.yml b/docker-compose.yml index cecdf1a38dda98b7dc3bb0db342a967cd6943df1..be26eaa89d97a8e02d7c4085faba8dbe0b855c77 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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