Web Development Umgebung angepasst
This commit is contained in:
@@ -16,7 +16,12 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
- /opt/webserver/DocumentRoot:/code
|
- /opt/webserver/DocumentRoot:/code
|
||||||
- ./code-server:/home/coder/.local/share/code-server
|
- www:/www
|
||||||
ports:
|
ports:
|
||||||
- 8181:8443
|
- 8181:8443
|
||||||
|
- 8184:5500
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
www:
|
||||||
|
external: true
|
||||||
49
dev_webserver/docker-compose.yml
Normal file
49
dev_webserver/docker-compose.yml
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
webserver:
|
||||||
|
container_name: dev_webserver
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- 8182:80
|
||||||
|
user: "www-data:www-data"
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Berlin
|
||||||
|
volumes:
|
||||||
|
# - ./DocumentRoot:/var/www/html
|
||||||
|
- www:/var/www/html
|
||||||
|
- energie:/var/www/html/knx/archiv
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
database:
|
||||||
|
image: mariadb:latest
|
||||||
|
container_name: dev_webserver_mariadb
|
||||||
|
ports:
|
||||||
|
- 3310:3306
|
||||||
|
environment:
|
||||||
|
- MYSQL_USER=${MYSQL_USER}
|
||||||
|
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||||
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||||
|
- TZ=Europe/Berlin
|
||||||
|
volumes:
|
||||||
|
- ./dbdata:/var/lib/mysql
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
phpmyadmin:
|
||||||
|
image: phpmyadmin/phpmyadmin
|
||||||
|
container_name: dev_webserver_phpmyadmin
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Berlin
|
||||||
|
links:
|
||||||
|
- 'database:db'
|
||||||
|
ports:
|
||||||
|
- 8183:80
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
www:
|
||||||
|
external: true
|
||||||
|
energie:
|
||||||
|
external: true
|
||||||
@@ -10,7 +10,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
volumes:
|
volumes:
|
||||||
- ./DocumentRoot:/var/www/html
|
# - ./DocumentRoot:/var/www/html
|
||||||
|
- www:/var/www/html
|
||||||
|
- energie:/var/www/html/knx/archiv
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
@@ -40,25 +42,8 @@ services:
|
|||||||
- 8087:80
|
- 8087:80
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# code-server:
|
volumes:
|
||||||
# image: ghcr.io/linuxserver/code-server
|
www:
|
||||||
# container_name: webserver_code-server
|
external: true
|
||||||
# environment:
|
energie:
|
||||||
# - PUID=33
|
external: true
|
||||||
# - PGID=33
|
|
||||||
# - TZ=Europe/Berlin
|
|
||||||
# - PASSWORD=${PASSWORD}
|
|
||||||
# - SUDO_PASSWORD=${SUDO_PASSWORD}
|
|
||||||
# - PROXY_DOMAIN=${PROXY_DOMAIN}
|
|
||||||
# - HASHED_PASSWORD= #optional
|
|
||||||
# - SUDO_PASSWORD_HASH= #optional
|
|
||||||
# volumes:
|
|
||||||
# - ./config:/config
|
|
||||||
# - ./DocumentRoot:/code
|
|
||||||
# - /var/run/docker.sock:/var/run/docker.sock:ro
|
|
||||||
# - /code-server:/home/coder/.local/share/code-server
|
|
||||||
# ports:
|
|
||||||
# - 8183:8443
|
|
||||||
# links:
|
|
||||||
# - 'webserver'
|
|
||||||
# restart: unless-stopped
|
|
||||||
@@ -1,16 +1,20 @@
|
|||||||
version: "3.2"
|
version: "3.2"
|
||||||
services:
|
services:
|
||||||
ytdl_material:
|
ytdl_material:
|
||||||
|
image: tzahi12345/youtubedl-material:latest
|
||||||
container_name: youtubeDL
|
container_name: youtubeDL
|
||||||
environment:
|
environment:
|
||||||
ALLOW_CONFIG_MUTATIONS: 'true'
|
ALLOW_CONFIG_MUTATIONS: 'true'
|
||||||
restart: always
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./appdata:/app/appdata
|
- ./appdata:/app/appdata
|
||||||
- ./audio:/app/audio
|
- youtubeDL:/app/audio
|
||||||
- ./video:/app/video
|
- ./video:/app/video
|
||||||
- ./subscriptions:/app/subscriptions
|
- ./subscriptions:/app/subscriptions
|
||||||
- ./users:/app/users
|
- ./users:/app/users
|
||||||
ports:
|
ports:
|
||||||
- "8998:17442"
|
- "8998:17442"
|
||||||
image: tzahi12345/youtubedl-material:latest
|
restart: always
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
youtubeDL:
|
||||||
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user