Support live port in docker compose

pull/3543/head
Chocobozzz 2021-01-07 11:18:47 +01:00
parent c0605e6e08
commit a461418320
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 3 deletions

View File

@ -53,9 +53,10 @@ services:
ipv4_address: 172.18.0.42 ipv4_address: 172.18.0.42
env_file: env_file:
- .env - .env
# If you provide your own webserver and reverse-proxy, otherwise not suitable for production:
#ports: ports:
# - "80:9000" # serving HTTP - "1935:1935" # If you don't want to use the live feature, you can comment this line
# - "9000:9000" # If you provide your own webserver and reverse-proxy, otherwise not suitable for production
volumes: volumes:
- assets:/app/client/dist - assets:/app/client/dist
- ./docker-volume/data:/data - ./docker-volume/data:/data