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
|
||||
source: ./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:
|
||||
- "8081:8080"
|
||||
|
||||
|
@ -96,7 +96,7 @@ services:
|
|||
- type: bind
|
||||
source: ./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:
|
||||
# Expose container to Traefik
|
||||
- "traefik.enable=true"
|
||||
|
|
Loading…
Reference in New Issue