Remove Docker for now as it might cause problems than it solves.

This commit is contained in:
Azareal 2018-08-20 18:07:04 +10:00
parent bc7982952d
commit d1eb66a464
2 changed files with 0 additions and 36 deletions

View File

@ -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"]

View File

@ -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