Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .examples/docker/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
##########################
# Image Repo Configuration
##########################
#
# optional Image Configuration
#LB_APP_DOCKER_IMAGE=librebooking/librebooking
#LB_APP_DOCKER_TAG=5.2.0
#LB_DB_DOCKER_IMAGE=linuxserver/mariadb
#LB_DB_DOCKER_TAG:10.6.13

#LB_PROXY_DOCKER_IMAGE=nginxproxy/nginx-proxy
#LB_PROXY_DOCKER_TAG:latest
#LB_ACME_DOCKER_IMAGE=nginxproxy/acme-companion
#LB_ACME_DOCKER_TAG:latest
6 changes: 3 additions & 3 deletions .examples/docker/docker-compose-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: librebooking

services:
db:
image: linuxserver/mariadb:10.6.13
image: ${LB_DB_DOCKER_IMAGE:-linuxserver/mariadb}:${LB_DB_DOCKER_TAG:-10.6.13}
restart: always
volumes:
- db_conf:/config
env_file:
- db.env
app:
image: librebooking/librebooking:develop
image: ${LB_APP_DOCKER_IMAGE:-librebooking/librebooking}:${LB_APP_DOCKER_TAG:-develop}
restart: always
depends_on:
- db
Expand All @@ -22,7 +22,7 @@ services:
env_file:
- lb.env
cron:
image: librebooking/librebooking:develop
image: ${LB_APP_DOCKER_IMAGE:-librebooking/librebooking}:${LB_APP_DOCKER_TAG:-develop}
restart: always
command: supercronic /config/lb-jobs-cron
depends_on:
Expand Down
10 changes: 5 additions & 5 deletions .examples/docker/docker-compose-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: librebooking

services:
proxy:
image: nginxproxy/nginx-proxy
image: ${LB_PROXY_DOCKER_IMAGE:-nginxproxy/nginx-proxy}:${LB_PROXY_DOCKER_TAG:-latest}
restart: always
ports:
- 80:80
Expand All @@ -12,7 +12,7 @@ services:
- proxy_html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
acme:
image: nginxproxy/acme-companion
image: ${LB_ACME_DOCKER_IMAGE:-nginxproxy/acme-companion}:${LB_ACME_DOCKER_TAG:-latest}
restart: always
depends_on:
- proxy
Expand All @@ -24,7 +24,7 @@ services:
environment:
- DEFAULT_EMAIL=john.doe@acme.org
db:
image: linuxserver/mariadb:10.6.13
image: ${LB_DB_DOCKER_IMAGE:-linuxserver/mariadb}:${LB_DB_DOCKER_TAG:-10.6.13}
restart: always
volumes:
- db_conf:/config
Expand All @@ -33,7 +33,7 @@ services:
env_file:
- db.env
app:
image: librebooking/librebooking:develop
image: ${LB_APP_DOCKER_IMAGE:-librebooking/librebooking}:${LB_APP_DOCKER_TAG:-develop}
restart: always
depends_on:
- db
Expand All @@ -49,7 +49,7 @@ services:
- VIRTUAL_PORT=8080
- LETSENCRYPT_HOST=acme.org
cron:
image: librebooking/librebooking:develop
image: ${LB_APP_DOCKER_IMAGE:-librebooking/librebooking}:${LB_APP_DOCKER_TAG:-develop}
restart: always
depends_on:
- app
Expand Down