Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions container-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ services:
context: orbit
dockerfile: Containerfile
target: orbit
args:
- PRODUCTION: false
security_opt:
- label:disable
volumes:
Expand All @@ -81,8 +83,6 @@ services:
app_protocol: http
mode: host
name: "unencrypted http upstream server port"
environment:
- PRODUCTION=false
smtp:
build:
context: smtp
Expand Down
4 changes: 2 additions & 2 deletions container-compose-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ services:
context: orbit
dockerfile: Containerfile
target: orbit
args:
- PRODUCTION: false
volumes:
- type: bind
source: ./.git
Expand All @@ -60,8 +62,6 @@ services:
target: /orbit/docs
read_only: true
selinux: z
environment:
- PRODUCTION=false
ports:
- target: 9098
published: 9098
Expand Down
4 changes: 2 additions & 2 deletions container-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ services:
context: orbit
dockerfile: Containerfile
target: orbit
args:
- PRODUCTION: true
volumes:
- type: bind
source: ./.git
Expand All @@ -67,8 +69,6 @@ services:
app_protocol: http
mode: host
name: "unencrypted http upstream server port"
environment:
- PRODUCTION=true
smtp:
build:
context: smtp
Expand Down
3 changes: 3 additions & 0 deletions orbit/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ COPY cgitrc /etc/cgitrc

EXPOSE 9098

ARG PRODUCTION
ENV PRODUCTION=${PRODUCTION}

CMD /bin/sh -c "source /radius-venv/bin/activate && uwsgi /orbit/radius.ini"