Remove Docker for now as it might cause problems than it solves.
This commit is contained in:
parent
bc7982952d
commit
d1eb66a464
@ -1,8 +0,0 @@
|
||||
FROM golang:1.10
|
||||
RUN git clone https://github.com/Azareal/Gosora
|
||||
RUN mv Gosora app
|
||||
ADD . /app/
|
||||
WORKDIR /app
|
||||
RUN ./update-deps-linux
|
||||
ENTRYPOINT ["install-docker"]
|
||||
CMD ["/app/run-linux"]
|
@ -1,28 +0,0 @@
|
||||
version: "3"
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
environment:
|
||||
- SERVER_PORT=8080
|
||||
- SECURE_SERVER_PORT=9090
|
||||
- SITE_NAME=${GOS_SITE_NAME:-Go.sora}
|
||||
- SITE_SHORT_NAME=${GOS_SHORT_SITE_NAME:-Gs}
|
||||
- SITE_URL=${GOS_SITE_URL}
|
||||
- MYSQL_DATABASE=${GOS_DBNAME:-gosora}
|
||||
- MYSQL_USER=${GOS_DBUSER:-gosora_user}
|
||||
- MYSQL_PASSWORD=${GOS_DBPASSWORD}
|
||||
volumes:
|
||||
- ./:/app
|
||||
ports:
|
||||
- "8080:80"
|
||||
- "9090:443"
|
||||
depends_on:
|
||||
- mariadb
|
||||
mariadb:
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${GOS_ROOT}
|
||||
- MYSQL_DATABASE=${GOS_DBNAME:-gosora}
|
||||
- MYSQL_USER=${GOS_DBUSER:-gosora_user}
|
||||
- MYSQL_PASSWORD=${GOS_DBPASSWORD}
|
||||
- MYSQL_ALLOW_EMPTY_PASSWORD=no
|
||||
image: mariadb
|
Loading…
Reference in New Issue
Block a user