mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
use long syntax in compose.yaml
This commit is contained in:
+10
-3
@@ -8,9 +8,16 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
init: true
|
||||
ports:
|
||||
# Specify `8282:8282` only if you are not using a reverse proxy
|
||||
- 127.0.0.1:8282:8282
|
||||
env_file: .env
|
||||
# Only specify 0.0.0.0 for host_ip if you are **not** using a reverse proxy
|
||||
- name: http
|
||||
target: 8282
|
||||
host_ip: 127.0.0.1
|
||||
published: 8282
|
||||
protocol: tcp
|
||||
app_protocol: http
|
||||
env_file:
|
||||
- path: .env
|
||||
required: true
|
||||
restart: unless-stopped
|
||||
cap_drop:
|
||||
- ALL
|
||||
|
||||
Reference in New Issue
Block a user