Initial upload of configurations
This commit is contained in:
19
nginxwebsite/docker-compose.yaml
Normal file
19
nginxwebsite/docker-compose.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: '3.3'
|
||||
|
||||
services:
|
||||
website:
|
||||
image: nginx:latest
|
||||
container_name: ${CONTAINER_NAME}
|
||||
ports:
|
||||
- ${PORT_HTTP}:80
|
||||
volumes:
|
||||
- ${HOME_DIR}/{CONTAINER_NAME}:/usr/share/nginx/html
|
||||
env_file:
|
||||
- path: ./website.env
|
||||
required: true
|
||||
- path: ../global.env
|
||||
required: true
|
||||
environment:
|
||||
- TZ=${TIMEZONE}
|
||||
restart: unless-stopped
|
||||
|
||||
2
nginxwebsite/website.env
Normal file
2
nginxwebsite/website.env
Normal file
@@ -0,0 +1,2 @@
|
||||
CONTAINER_NAME=nginxwebsite
|
||||
PORT_HTTP=9991
|
||||
Reference in New Issue
Block a user