generated from coop-cloud/example
Compare commits
1 Commits
31520c2cb1
...
e310d86a8f
Author | SHA1 | Date |
---|---|---|
mirsal | e310d86a8f |
|
@ -51,7 +51,7 @@ services:
|
|||
volumes:
|
||||
- app-data:/data
|
||||
- app-config:/config
|
||||
- app-assets:/app/client/dist
|
||||
- app-assets:/srv/client/dist
|
||||
secrets:
|
||||
- db_password
|
||||
configs:
|
||||
|
|
|
@ -30,6 +30,10 @@ if [ -z "$PEERTUBE_SMTP_ENABLED" ]; then
|
|||
file_env "PEERTUBE_SMTP_PASSWORD"
|
||||
fi
|
||||
|
||||
# Copy the client files over to a named volume
|
||||
# so that they may be served by nginx directly
|
||||
cp -ar /app/client/dist /srv/client
|
||||
|
||||
# upstream entrypoint
|
||||
# https://github.com/Chocobozzz/PeerTube/blob/66f77f63437c6774acbd72584a9839a7636ea167/support/docker/production/entrypoint.sh
|
||||
/usr/local/bin/entrypoint.sh "$@"
|
||||
|
|
Loading…
Reference in New Issue