rename directory docker to dev

This commit is contained in:
schlagmichdoch 2024-07-13 21:31:14 +02:00
parent 6ca039910a
commit fa24e77d3b
8 changed files with 6 additions and 7 deletions

2
.gitignore vendored
View file

@ -1,7 +1,7 @@
node_modules node_modules
.DS_Store .DS_Store
fqdn.env fqdn.env
/docker/certs /dev/certs
qrcode-svg/ qrcode-svg/
turnserver.conf turnserver.conf
rtc_config.json rtc_config.json

0
docker/openssl/create.sh → dev/openssl/create.sh Executable file → Normal file
View file

View file

@ -16,18 +16,18 @@ services:
- "127.0.0.1:3000:3000" # Web UI. Change the port number before the last colon e.g. `127.0.0.1:9000:3000` - "127.0.0.1:3000:3000" # Web UI. Change the port number before the last colon e.g. `127.0.0.1:9000:3000`
nginx: nginx:
build: build:
context: ./docker/ context: dev/
dockerfile: nginx-with-openssl.Dockerfile dockerfile: nginx-with-openssl.Dockerfile
image: "nginx-with-openssl" image: "nginx-with-openssl"
volumes: volumes:
- ./public:/usr/share/nginx/html - ./public:/usr/share/nginx/html
- ./docker/certs:/etc/ssl/certs - ./dev/certs:/etc/ssl/certs
- ./docker/openssl:/mnt/openssl - ./dev/openssl:/mnt/openssl
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf - ./dev/nginx/default.conf:/etc/nginx/conf.d/default.conf
ports: ports:
- "8080:80" - "8080:80"
- "8443:443" - "8443:443"
env_file: ./docker/fqdn.env env_file: dev/fqdn.env
entrypoint: /mnt/openssl/create.sh entrypoint: /mnt/openssl/create.sh
command: ["nginx", "-g", "daemon off;"] command: ["nginx", "-g", "daemon off;"]
restart: unless-stopped restart: unless-stopped

View file

@ -1 +0,0 @@
FQDN=localhost