Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 69f9af302f | |||
| 0e9a06be24 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,4 +3,4 @@
|
|||||||
/go.mod
|
/go.mod
|
||||||
/go.sum
|
/go.sum
|
||||||
logs/
|
logs/
|
||||||
TodayOnHistory
|
TodayOnHistory-*
|
||||||
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
FROM archlinux:latest
|
||||||
|
|
||||||
|
RUN pacman -Syu --no-confirm
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN chmod +x TodayOnHistory
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
|
CMD ["./TodayOnHistory"]
|
||||||
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
services:
|
||||||
|
today-on-history:
|
||||||
|
build: "."
|
||||||
|
container_name: "today-on-history"
|
||||||
|
restart: "always"
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
expose:
|
||||||
|
- 8080
|
||||||
|
volumes:
|
||||||
|
- /srv/TodayOnHistory:/app
|
||||||
Reference in New Issue
Block a user