From 0cbd36732b966c78eef6949aa20cdb7fd32e5df0 Mon Sep 17 00:00:00 2001 From: Andreas Burbach <aburbach@compeon.de> Date: Tue, 23 Nov 2021 13:15:18 +0100 Subject: [PATCH] another try --- docker-compose.ci.yml | 4 ++-- docker-compose.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose.ci.yml b/docker-compose.ci.yml index c41df4f..0f0ff87 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 cecdf1a..be26eaa 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 -- GitLab