Update Deprecated Compose Commands for Pypiserver Services (#583)

Updated compose commands to use run subcommand
This commit is contained in:
Ykrej 2024-07-15 15:09:48 -07:00 committed by GitHub
parent f740a84539
commit aa8217bba0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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"