Skip to content

Commit

Permalink
ci: remove podman data persistence for docker-compose (#1096)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex <[email protected]>
  • Loading branch information
Alex-Izquierdo authored Oct 10, 2024
1 parent a56d04b commit ee2bc4f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 60 deletions.
15 changes: 0 additions & 15 deletions tools/docker/docker-compose-dev-redis-tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,27 +51,13 @@ x-environment:


services:
podman-pre-setup:
user: "0"
image: ${EDA_PODMAN_IMAGE:-quay.io/containers/podman}:${EDA_PODMAN_VERSION:-v4}
privileged: true
command: >-
chown -R podman /home/podman/.local/share/containers/storage
volumes:
- 'podman_data:/home/podman/.local/share/containers/storage'

podman:
user: "1000"
image: ${EDA_PODMAN_IMAGE:-quay.io/containers/podman}:${EDA_PODMAN_VERSION:-v4}
privileged: true
command: >-
podman system service --time=0 tcp://0.0.0.0:8888
ports:
- "${EDA_PODMAN_PORT:-8888}:8888"
volumes:
- 'podman_data:/home/podman/.local/share/containers/storage'
depends_on:
- podman-pre-setup

certs:
image: ${EDA_CERTBOT_IMAGE:-certbot/certbot}:${EDA_CERTBOT_VERSION:-latest}
Expand Down Expand Up @@ -262,4 +248,3 @@ services:

volumes:
postgres_data: {}
podman_data: {}
30 changes: 0 additions & 30 deletions tools/docker/docker-compose-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,49 +54,21 @@ x-environment: &common-env
SSL_CLIENT_CERTIFICATE: ${SSL_CLIENT_CERTIFICATE:-/certs/client.crt}

services:
podman-pre-setup-node1:
user: "0"
image: ${EDA_PODMAN_IMAGE:-quay.io/containers/podman}:${EDA_PODMAN_VERSION:-v4}
privileged: true
command: >-
chown -R podman /home/podman/.local/share/containers/storage
volumes:
- 'podman_data_node1:/home/podman/.local/share/containers/storage'

podman-pre-setup-node2:
user: "0"
image: ${EDA_PODMAN_IMAGE:-quay.io/containers/podman}:${EDA_PODMAN_VERSION:-v4}
privileged: true
command: >-
chown -R podman /home/podman/.local/share/containers/storage
volumes:
- 'podman_data_node2:/home/podman/.local/share/containers/storage'

podman-node1:
user: "1000"
image: ${EDA_PODMAN_IMAGE:-quay.io/containers/podman}:${EDA_PODMAN_VERSION:-v4}
privileged: true
command: >-
podman system service --time=0 tcp://0.0.0.0:8888
ports:
- "${EDA_PODMAN_NODE1_PORT:-8888}:8888"
volumes:
- 'podman_data_node1:/home/podman/.local/share/containers/storage'
depends_on:
- podman-pre-setup-node1

podman-node2:
user: "1000"
image: ${EDA_PODMAN_IMAGE:-quay.io/containers/podman}:${EDA_PODMAN_VERSION:-v4}
privileged: true
command: >-
podman system service --time=0 tcp://0.0.0.0:8888
ports:
- "${EDA_PODMAN_NODE2_PORT:-8889}:8888"
volumes:
- 'podman_data_node2:/home/podman/.local/share/containers/storage'
depends_on:
- podman-pre-setup-node2

postgres:
image: ${EDA_POSTGRES_IMAGE:-quay.io/sclorg/postgresql-15-c9s}:${EDA_POSTGRES_VERSION:-latest}
Expand Down Expand Up @@ -303,8 +275,6 @@ services:

volumes:
postgres_data: {}
podman_data_node1: {}
podman_data_node2: {}

networks:
service-mesh:
Expand Down
15 changes: 0 additions & 15 deletions tools/docker/docker-compose-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,27 +46,13 @@ x-environment:
- SSL_CLIENT_CERTIFICATE=${SSL_CLIENT_CERTIFICATE:-/certs/client.crt}

services:
podman-pre-setup:
user: "0"
image: ${EDA_PODMAN_IMAGE:-quay.io/containers/podman}:${EDA_PODMAN_VERSION:-v4}
privileged: true
command: >-
chown -R podman /home/podman/.local/share/containers/storage
volumes:
- 'podman_data:/home/podman/.local/share/containers/storage'

podman:
user: "1000"
image: ${EDA_PODMAN_IMAGE:-quay.io/containers/podman}:${EDA_PODMAN_VERSION:-v4}
privileged: true
command: >-
podman system service --time=0 tcp://0.0.0.0:8888
ports:
- '${EDA_PODMAN_PORT:-8888}:8888'
volumes:
- 'podman_data:/home/podman/.local/share/containers/storage'
depends_on:
- podman-pre-setup

postgres:
image: ${EDA_POSTGRES_IMAGE:-quay.io/sclorg/postgresql-15-c9s}:${EDA_POSTGRES_VERSION:-latest}
Expand Down Expand Up @@ -237,7 +223,6 @@ services:

volumes:
postgres_data: {}
podman_data: {}
eda-api-staticfiles: {}

networks:
Expand Down

0 comments on commit ee2bc4f

Please sign in to comment.