1
0
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:
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

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