Skip to content

Commit 4013253

Browse files
committed
prepare for better Docker usage
- Docker image will now extend Docker Compose for common compose use-cases - Removed old unused Dockerfile - Add example docker-compose.yml
1 parent d136114 commit 4013253

File tree

3 files changed

+14
-21
lines changed

3 files changed

+14
-21
lines changed

Dockerfile

Lines changed: 0 additions & 20 deletions
This file was deleted.

Dockerfile.release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM scratch
1+
FROM docker/compose
22
COPY wadsworth /bin/wadsworth
33
ENTRYPOINT ["wadsworth"]

docker-compose.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 3
2+
services:
3+
image: southclaws/wadsworth:v1
4+
environment:
5+
HOSTNAME: ${HOSTNAME}
6+
DEBUG: "1"
7+
DIRECTORY: "/cache"
8+
CHECK_INTERVAL: "10s"
9+
VAULT_ADDR: "https://vault.my.infra.systems"
10+
VAULT_TOKEN: ${VAULT_TOKEN}
11+
VAULT_PATH: "a/subdirectory/inside/vault/"
12+
volumes:
13+
- /var/run/docker.sock:/var/run/docker.sock

0 commit comments

Comments
 (0)