|
@ -14,9 +14,11 @@ services: |
|
|
volumes: |
|
|
volumes: |
|
|
- ${APP_DATA_DIR}/config/nginx.conf:/etc/nginx/conf.d/nginx.conf:ro |
|
|
- ${APP_DATA_DIR}/config/nginx.conf:/etc/nginx/conf.d/nginx.conf:ro |
|
|
- ${APP_DATA_DIR}/data/public:/var/www/app/public:ro |
|
|
- ${APP_DATA_DIR}/data/public:/var/www/app/public:ro |
|
|
|
|
|
depends_on: |
|
|
|
|
|
- app |
|
|
|
|
|
|
|
|
app: |
|
|
app: |
|
|
image: invoiceninja/invoiceninja:5.5.93@sha256:59af42c410467154e6c50322f1d2ab048297b2d01e862f41bc9f1db4829c6086 |
|
|
image: invoiceninja/invoiceninja:5.8.15@sha256:59a283bb7fab29d432047264b12066de4f13eae78fb03f8f5126bcbf75c20570 |
|
|
# We're forced to run user/group 1500 |
|
|
# We're forced to run user/group 1500 |
|
|
# More detail here: https://github.com/invoiceninja/dockerfiles/blob/ad3ffc227d63740330f761dad6e8c87768577847/alpine/5/Dockerfile#L70-L80 |
|
|
# More detail here: https://github.com/invoiceninja/dockerfiles/blob/ad3ffc227d63740330f761dad6e8c87768577847/alpine/5/Dockerfile#L70-L80 |
|
|
user: "1500:1500" |
|
|
user: "1500:1500" |
|
@ -26,12 +28,16 @@ services: |
|
|
- ${APP_DATA_DIR}/data/storage:/var/www/app/storage:rw,delegated |
|
|
- ${APP_DATA_DIR}/data/storage:/var/www/app/storage:rw,delegated |
|
|
environment: |
|
|
environment: |
|
|
APP_URL: "http://${APP_DOMAIN}" |
|
|
APP_URL: "http://${APP_DOMAIN}" |
|
|
|
|
|
APP_KEY: "${APP_KEY:-unset}" |
|
|
|
|
|
REQUIRE_HTTPS: "false" |
|
|
DB_HOST: invoice-ninja_db_1 |
|
|
DB_HOST: invoice-ninja_db_1 |
|
|
DB_DATABASE: invoiceninja |
|
|
DB_DATABASE: invoiceninja |
|
|
DB_USERNAME: invoiceninja |
|
|
DB_USERNAME: invoiceninja |
|
|
DB_PASSWORD: moneyprintergobrrr |
|
|
DB_PASSWORD: moneyprintergobrrr |
|
|
IN_USER_EMAIL: "admin@example.com" |
|
|
IN_USER_EMAIL: "admin@example.com" |
|
|
IN_PASSWORD: $APP_PASSWORD |
|
|
IN_PASSWORD: $APP_PASSWORD |
|
|
|
|
|
depends_on: |
|
|
|
|
|
- db |
|
|
|
|
|
|
|
|
db: |
|
|
db: |
|
|
image: mariadb:10.5.12@sha256:dfcba5641bdbfd7cbf5b07eeed707e6a3672f46823695a0d3aba2e49bbd9b1dd |
|
|
image: mariadb:10.5.12@sha256:dfcba5641bdbfd7cbf5b07eeed707e6a3672f46823695a0d3aba2e49bbd9b1dd |
|
@ -43,5 +49,4 @@ services: |
|
|
MYSQL_ROOT_PASSWORD: invoiceninja |
|
|
MYSQL_ROOT_PASSWORD: invoiceninja |
|
|
MYSQL_USER: invoiceninja |
|
|
MYSQL_USER: invoiceninja |
|
|
MYSQL_PASSWORD: moneyprintergobrrr |
|
|
MYSQL_PASSWORD: moneyprintergobrrr |
|
|
MYSQL_DATABASE: invoiceninja |
|
|
MYSQL_DATABASE: invoiceninja |
|
|
|
|
|
|