Skip to content

Commit

Permalink
stash
Browse files Browse the repository at this point in the history
  • Loading branch information
spezifisch committed Aug 11, 2023
1 parent 53681dd commit f499811
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 0 additions & 2 deletions backend/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ services:
- "127.0.0.1:8083:8080" # events
volumes:
- ./:/app/
- rueder_dev_docs:/app/docs
depends_on:
- db

Expand Down Expand Up @@ -52,5 +51,4 @@ services:

volumes:
rueder_dev_db:
rueder_dev_docs:
rueder_dev_rabbitmq_data:
7 changes: 3 additions & 4 deletions backend/docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ ARG S6_OVERLAY_VERSION=3.1.5.0
# set default timezone
ARG TZ=Europe/Berlin
ENV DEFAULT_TZ ${TZ}
# go config
ENV CGO_ENABLED=1
# s6-overlay config
ENV S6_KEEP_ENV=1

WORKDIR /app

Expand Down Expand Up @@ -34,9 +37,5 @@ RUN go mod download
# s6 daemon configs
COPY ./docker/dev/s6-rc.d /etc/s6-overlay/s6-rc.d

# we use a separate volume for the docs so they don't clash with api's docs
# which are in the docs dir on the host
VOLUME /app/docs

VOLUME /app
EXPOSE 8080
2 changes: 1 addition & 1 deletion backend/docker/dev/s6-rc.d/api/run
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/command/execlineb -P
cd /app
gow run -race ./cmd/api --dev --log debug
gow run ./cmd/api --dev --log debug

0 comments on commit f499811

Please sign in to comment.