chore: update example compose file
This commit is contained in:
@@ -2,17 +2,38 @@ services:
|
|||||||
photon:
|
photon:
|
||||||
container_name: photon_dashboard
|
container_name: photon_dashboard
|
||||||
image: git.jrdn.dev/jordanwalster/photon-dashboard:latest
|
image: git.jrdn.dev/jordanwalster/photon-dashboard:latest
|
||||||
ports:
|
|
||||||
- 8090:80
|
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./db:/var/www/html/db
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./data
|
source: ${DATA_PATH}
|
||||||
target: /var/www/html/data
|
target: /var/www/html/data
|
||||||
bind:
|
bind:
|
||||||
propagation: rshared
|
propagation: rshared
|
||||||
environment:
|
ports:
|
||||||
ADMIN_DOMAIN: photon.jrdn.dev
|
- ${PHOTON_PORT:-8090}:80
|
||||||
SHARE_DOMAIN: ss.example.com
|
env_file:
|
||||||
USER_EMAIL: me@example.com
|
- .env
|
||||||
TAGS_ENABLED: false
|
web:
|
||||||
SEARCH_ENABLED: false
|
container_name: public_web
|
||||||
|
image: nginx
|
||||||
|
ports:
|
||||||
|
- 8080:80
|
||||||
|
volumes:
|
||||||
|
- ${DATA_PATH}:/usr/share/nginx/html:ro
|
||||||
|
worker:
|
||||||
|
container_name: photon_worker
|
||||||
|
image: git.jrdn.dev/jordanwalster/photon-worker:latest
|
||||||
|
volumes:
|
||||||
|
- ${DATA_PATH}:/var/www/html/data
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
db:
|
||||||
|
container_name: photon_db
|
||||||
|
image: mariadb
|
||||||
|
volumes:
|
||||||
|
- db:/var/lib/mysql
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db:
|
||||||
Reference in New Issue
Block a user