Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Marc Feger
The Social Network
Commits
8880b639
Commit
8880b639
authored
Nov 23, 2021
by
Andreas Burbach
Browse files
remove not needed stuff
parent
0cbd3673
Pipeline
#75027
failed with stages
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
8880b639
...
...
@@ -10,32 +10,6 @@ services:
-
./the_social_network:/code
networks
:
-
webnet
nginx
:
container_name
:
nginx
image
:
nginx:latest
restart
:
always
depends_on
:
-
the_social_network
-
certbot
volumes
:
-
./nginx/production/:/etc/nginx/conf.d
-
./nginx/certbot/conf:/etc/letsencrypt
-
./nginx/certbot/www:/var/www/certbot
networks
:
-
webnet
ports
:
-
"
80:80"
-
"
443:443"
command
:
"
/bin/sh
-c
'while
:;
do
sleep
6h
&
wait
$${!};
nginx
-s
reload;
done
&
nginx
-g
\"
daemon
off;
\"
'"
certbot
:
image
:
certbot/certbot:latest
restart
:
unless-stopped
volumes
:
-
./nginx/certbot/conf:/etc/letsencrypt
-
./nginx/certbot/www:/var/www/certbot
entrypoint
:
"
/bin/sh
-c
'trap
exit
TERM;
while
:;
do
certbot
renew;
sleep
12h
&
wait
$${!};
done;'"
networks
:
webnet
:
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment