mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
Revert "creates kubernetes friendly deployment"
This reverts commit b42153bcc4.
This commit is contained in:
@@ -21,7 +21,6 @@ COPY ./docker-entrypoint.sh /docker-entrypoint-initdb.d/docker-initialize.sh
|
||||
# the mysql user inside the MySQL Docker container.
|
||||
RUN chown -R mysql:root /docker-entrypoint-initdb.d
|
||||
RUN chown -R mysql:root /scripts
|
||||
# RUN chown -R mysql:root /tmp
|
||||
|
||||
CMD ["mysqld"]
|
||||
EXPOSE 3306
|
||||
@@ -1,3 +1,2 @@
|
||||
[mysqld]
|
||||
bind-address = 0.0.0.0
|
||||
innodb_temp_data_file_path = ../../../tmp/ibtmp1:12M:autoextend
|
||||
bind-address = 0.0.0.0
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM kochie/bigcapital-server:latest as build
|
||||
FROM ghcr.io/bigcapitalhq/server:latest as build
|
||||
|
||||
ARG DB_HOST= \
|
||||
DB_USER= \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Migrate the master system database.
|
||||
./wait-for-it/wait-for-it.sh ${DB_HOST}:3306 -- node ./build/commands.js system:migrate:latest
|
||||
./wait-for-it/wait-for-it.sh mysql:3306 -- node ./build/commands.js system:migrate:latest
|
||||
|
||||
# Migrate all tenants.
|
||||
./wait-for-it/wait-for-it.sh ${DB_HOST}:3306 -- node ./build/commands.js tenants:migrate:latest
|
||||
./wait-for-it/wait-for-it.sh mysql:3306 -- node ./build/commands.js tenants:migrate:latest
|
||||
Reference in New Issue
Block a user