mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
Update Deprecated Compose Commands for Pypiserver Services (#583)
Updated compose commands to use run subcommand
This commit is contained in:
parent
f740a84539
commit
aa8217bba0
@ -48,7 +48,7 @@ services:
|
|||||||
- type: bind
|
- type: bind
|
||||||
source: ./auth
|
source: ./auth
|
||||||
target: /data/auth
|
target: /data/auth
|
||||||
command: -P /data/auth/.htpasswd -a update,download,list /data/packages
|
command: run -P /data/auth/.htpasswd -a update,download,list /data/packages
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "8081:8080"
|
||||||
|
|
||||||
@ -96,7 +96,7 @@ services:
|
|||||||
- type: bind
|
- type: bind
|
||||||
source: ./packages
|
source: ./packages
|
||||||
target: /data/packages
|
target: /data/packages
|
||||||
command: -P /data/auth/.htpasswd -a update,download,list /data/packages
|
command: run -P /data/auth/.htpasswd -a update,download,list /data/packages
|
||||||
labels:
|
labels:
|
||||||
# Expose container to Traefik
|
# Expose container to Traefik
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
Loading…
Reference in New Issue
Block a user