Correct yml for compose file and example for lint

This commit is contained in:
Zedifus 2022-03-23 02:37:52 +00:00
parent 6664ff276b
commit 932d81fe81
2 changed files with 12 additions and 10 deletions

View File

@ -1,3 +1,4 @@
---
version: '3' version: '3'
services: services:
@ -7,11 +8,11 @@ services:
environment: environment:
- TZ=Etc/UTC - TZ=Etc/UTC
ports: ports:
- "8000:8000" # HTTP - "8000:8000" # HTTP
- "8443:8443" # HTTPS - "8443:8443" # HTTPS
- "8123:8123" # DYNMAP - "8123:8123" # DYNMAP
- "19132:19132/udp" # BEDROCK - "19132:19132/udp" # BEDROCK
- "25500-25600:25500-25600" # MC SERV PORT RANGE - "25500-25600:25500-25600" # MC SERV PORT RANGE
volumes: volumes:
- ./docker/backups:/commander/backups - ./docker/backups:/commander/backups
- ./docker/logs:/commander/logs - ./docker/logs:/commander/logs

View File

@ -1,3 +1,4 @@
---
version: '3' version: '3'
services: services:
@ -7,11 +8,11 @@ services:
environment: environment:
- TZ=Etc/UTC - TZ=Etc/UTC
ports: ports:
- "8000:8000" # HTTP - "8000:8000" # HTTP
- "8443:8443" # HTTPS - "8443:8443" # HTTPS
- "8123:8123" # DYNMAP - "8123:8123" # DYNMAP
- "19132:19132/udp" # BEDROCK - "19132:19132/udp" # BEDROCK
- "25500-25600:25500-25600" # MC SERV PORT RANGE - "25500-25600:25500-25600" # MC SERV PORT RANGE
volumes: volumes:
- ./backups:/commander/backups - ./backups:/commander/backups
- ./logs:/commander/logs - ./logs:/commander/logs