-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
49 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
FROM ghcr.io/magfest/ubersystem:west2022 | ||
|
||
# add our code | ||
# install plugins | ||
COPY . plugins/magwest/ | ||
RUN if [ -d plugins/magwest/plugins ]; then echo "copying plugins"; ls plugins/magwest/plugins/*; mv plugins/magwest/plugins/* plugins/; fi | ||
RUN git clone --depth 1 --branch west2022 https://github.com/magfest/covid.git plugins/covid | ||
|
||
RUN /app/env/bin/paver install_deps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# docker-compose for development of ubersystem | ||
|
||
services: | ||
web: | ||
platform: linux/amd64 | ||
build: . | ||
ports: | ||
- 80:80 | ||
environment: | ||
- DB_CONNECTION_STRING=postgresql://uber_db:uber_db@db:5432/uber_db | ||
- PORT=80 | ||
volumes: | ||
- type: bind | ||
source: . | ||
target: /app/plugins/magwest | ||
db: | ||
platform: linux/amd64 | ||
image: postgres | ||
environment: | ||
- POSTGRES_PASSWORD=uber_db | ||
- POSTGRES_USER=uber_db | ||
- POSTGRES_DB=uber_db | ||
redis: | ||
platform: linux/amd64 | ||
image: redis | ||
rabbitmq: | ||
platform: linux/arm64/v8 | ||
ports: | ||
- "5672" | ||
image: rabbitmq | ||
environment: | ||
- RABBITMQ_DEFAULT_USER=celery | ||
- RABBITMQ_DEFAULT_PASS=celery | ||
- RABBITMQ_DEFAULT_VHOST=uber | ||
celery-beat: | ||
platform: linux/amd64 | ||
build: . | ||
command: ['celery-beat'] | ||
environment: | ||
- DB_CONNECTION_STRING=postgresql://uber_db:uber_db@db:5432/uber_db | ||
celery-worker: | ||
platform: linux/amd64 | ||
build: . | ||
command: ['celery-worker'] | ||
environment: | ||
- DB_CONNECTION_STRING=postgresql://uber_db:uber_db@db:5432/uber_db |