Skip to content

Commit

Permalink
chore(dev-env): fix local docker compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Tresch committed Nov 7, 2024
1 parent 22b3fa2 commit 5c5d823
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions docker-compose.selinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ services:
postgres:
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
image: postgis/postgis:14-3.2
image: postgres:16
networks:
default: null
restart: always
Expand All @@ -82,8 +82,7 @@ services:
published: "5432"
protocol: tcp
dex:
image: docker.io/dexidp/dex:v2.38.0
restart: always
image: docker.io/dexidp/dex:latest
environment:
OAUTH2_PROXY_CLIENT_ID: ${OAUTH2_PROXY_CLIENT_ID}
OAUTH2_PROXY_CLIENT_SECRET: ${OAUTH2_PROXY_CLIENT_SECRET}
Expand All @@ -97,7 +96,7 @@ services:
- "./example/dexidp/config-demo.yaml:/etc/dex/config-demo.yaml:Z"
- type: volume
source: dex_data
target: /var/sqlite/dex
target: /var/dex
volume: {}
ports:
- mode: ingress
Expand Down
7 changes: 3 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ services:
postgres:
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
image: postgis/postgis:14-3.2
image: postgres:16
networks:
default: null
restart: always
Expand All @@ -82,8 +82,7 @@ services:
published: "5432"
protocol: tcp
dex:
image: docker.io/dexidp/dex:v2.38.0
restart: always
image: docker.io/dexidp/dex:latest
environment:
OAUTH2_PROXY_CLIENT_ID: ${OAUTH2_PROXY_CLIENT_ID}
OAUTH2_PROXY_CLIENT_SECRET: ${OAUTH2_PROXY_CLIENT_SECRET}
Expand All @@ -100,7 +99,7 @@ services:
read_only: true
- type: volume
source: dex_data
target: /var/sqlite/dex
target: /var/dex
volume: {}
ports:
- mode: ingress
Expand Down
2 changes: 1 addition & 1 deletion example/dexidp/config-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ issuer: {{ getenv "DEX_ISSUER" "http://127.0.0.1:5556/dex" }}
storage:
type: sqlite3
config:
file: var/sqlite/dex/dex.db
file: var/dex/dex.db

web:
http: {{ getenv "DEX_WEB_HTTP" "0.0.0.0:5556" }}
Expand Down

0 comments on commit 5c5d823

Please sign in to comment.