updated to make work some settings
This commit is contained in:
@@ -1,18 +1,25 @@
|
||||
version: "3.3"
|
||||
services:
|
||||
web:
|
||||
app:
|
||||
build: .
|
||||
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
|
||||
hostname: app
|
||||
volumes:
|
||||
- .:/app
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
||||
networks:
|
||||
- internal
|
||||
environment:
|
||||
TEAMSNAP_CLIENT_ID: "${TEAMSNAP_CLIENT_ID}"
|
||||
TEAMSNAP_CLIENT_SECRET: "${TEAMSNAP_CLIENT_SECRET}"
|
||||
webserver:
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
restart: always
|
||||
networks:
|
||||
- internal
|
||||
volumes:
|
||||
- ./nginx/conf/:/etc/nginx/conf.d/:ro
|
||||
- ./certbot/www:/var/www/certbot/:ro
|
||||
@@ -22,3 +29,7 @@ services:
|
||||
volumes:
|
||||
- ./certbot/www/:/var/www/certbot/:rw
|
||||
- ./certbot/conf/:/etc/letsencrypt/:rw
|
||||
|
||||
networks:
|
||||
internal:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user