Skip to content

Commit

Permalink
Merge pull request #41 from OpenC3/handle_selinux_mounts
Browse files Browse the repository at this point in the history
Support Selinux
  • Loading branch information
ryanmelt authored Aug 3, 2022
2 parents 3443dbf + 2a0692d commit 56b6efa
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
image: "${OPENC3_REGISTRY}/openc3inc/openc3-minio:${OPENC3_TAG}"
volumes:
- "openc3-minio-v:/data"
- "./cacert.pem:/devel/cacert.pem"
- "./cacert.pem:/devel/cacert.pem:z"
command: ["server", "/data"]
restart: "unless-stopped"
environment:
Expand All @@ -39,8 +39,8 @@ services:
image: "${OPENC3_REGISTRY}/openc3inc/openc3-redis:${OPENC3_TAG}"
volumes:
- "openc3-redis-v:/data"
- "./cacert.pem:/devel/cacert.pem"
- "./openc3-redis/users.acl:/config/users.acl"
- "./cacert.pem:/devel/cacert.pem:z"
- "./openc3-redis/users.acl:/config/users.acl:z"
restart: "unless-stopped"
environment:
SSL_CERT_FILE: "/devel/cacert.pem"
Expand All @@ -51,8 +51,8 @@ services:
openc3-redis-ephemeral:
image: "${OPENC3_REGISTRY}/openc3inc/openc3-redis:${OPENC3_TAG}"
volumes:
- "./cacert.pem:/devel/cacert.pem"
- "./openc3-redis/users.acl:/config/users.acl"
- "./cacert.pem:/devel/cacert.pem:z"
- "./openc3-redis/users.acl:/config/users.acl:z"
restart: "unless-stopped"
command: ["redis-server", "/config/redis_ephemeral.conf"]
environment:
Expand All @@ -70,7 +70,7 @@ services:
- "openc3-minio"
volumes:
- "openc3-gems-v:/gems"
- "./cacert.pem:/devel/cacert.pem"
- "./cacert.pem:/devel/cacert.pem:z"
environment:
- "RAILS_ENV=production"
- "GEM_HOME=/gems"
Expand All @@ -86,7 +86,7 @@ services:
- "openc3-minio"
volumes:
- "openc3-gems-v:/gems:ro"
- "./cacert.pem:/devel/cacert.pem"
- "./cacert.pem:/devel/cacert.pem:z"
environment:
- "RAILS_ENV=production"
- "GEM_HOME=/gems"
Expand Down Expand Up @@ -115,8 +115,8 @@ services:
openc3-traefik:
image: "${OPENC3_REGISTRY}/openc3inc/openc3-traefik:${OPENC3_TAG}"
volumes:
- "./cacert.pem:/devel/cacert.pem"
- "./openc3-traefik/traefik.yaml:/etc/traefik/traefik.yaml"
- "./cacert.pem:/devel/cacert.pem:z"
- "./openc3-traefik/traefik.yaml:/etc/traefik/traefik.yaml:z"
# - "./openc3-traefik/traefik-allow-http.yaml:/etc/traefik/traefik.yaml"
# - "./openc3-traefik/traefik-ssl.yaml:/etc/traefik/traefik.yaml"
# - "./openc3-traefik/traefik-letsencrypt.yaml:/etc/traefik/traefik.yaml"
Expand Down Expand Up @@ -148,7 +148,7 @@ services:
- "openc3-minio"
volumes:
- "openc3-gems-v:/gems"
- "./cacert.pem:/devel/cacert.pem"
- "./cacert.pem:/devel/cacert.pem:z"
environment:
- "GEM_HOME=/gems"
env_file:
Expand Down

0 comments on commit 56b6efa

Please sign in to comment.