File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11services :
22 db :
3+ container_name : db
34 platform : linux/amd64
45 image : ohm-db:v2
56 build :
@@ -14,31 +15,49 @@ services:
1415 - web_network
1516
1617 web :
18+ container_name : web
1719 image : ohm-web:v1
1820 build :
1921 context : ./../images/web
2022 dockerfile : Dockerfile
2123 volumes :
22- - ./../../ohm-website/:/var/www/
23- - ./../images/web/config/settings.yml:/tmp/settings.yml:rw
2424 - ./../images/web/start.sh:/var/www/start.sh
2525 env_file :
2626 - ./../envs/.env.web
2727 ports :
28- - ' 3000:3000 '
28+ - ' 3000:80 '
2929 networks :
3030 - web_network
3131 depends_on :
3232 - db
3333 - memcached
3434
3535 memcached :
36+ container_name : memcached
3637 image : memcached:latest
3738 ports :
3839 - ' 11211:11211'
3940 networks :
4041 - web_network
4142
43+ # cgimap:
44+ # container_name: cgimap
45+ # image: ohm-cgimap:v1
46+ # build:
47+ # context: ./../images/cgimap
48+ # dockerfile: Dockerfile
49+ # env_file:
50+ # - ./../envs/.env.web
51+ # environment:
52+ # MEMCACHE_SERVER: memcached:11211
53+ # # ports:
54+ # # - '8000:8000'
55+ # networks:
56+ # - web_network
57+ # depends_on:
58+ # - db
59+ # - memcached
60+
4261networks :
4362 web_network :
4463 driver : bridge
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ RUN apt-get update && \
1616 git curl gnupg build-essential \
1717 libarchive-dev zlib1g-dev libcurl4-openssl-dev \
1818 apache2 apache2-dev libapache2-mod-fcgid libapr1-dev libaprutil1-dev \
19- postgresql-client libpq-dev libxml2-dev libyaml-dev \
19+ postgresql-client libpq-dev libxml2-dev libyaml-dev libgd-dev \
2020 pngcrush optipng advancecomp pngquant jhead jpegoptim gifsicle libjpeg-progs unzip\
2121 && curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \
2222 && apt-get install -y nodejs \
2323 && npm install -g yarn svgo \
2424 && apt-get clean && rm -rf /var/lib/apt/lists/*
2525
2626# Download OHM Website using gitsha, faster than cloning
27- ENV OPENHISTORICALMAP_WEBSITE_GITSHA=8690db86e4e5b51c4d59c1e2ec273bb2f8471189
27+ ENV OPENHISTORICALMAP_WEBSITE_GITSHA=8fe2e830e089da8eb1af4ce611ea361307ee2ba7
2828ENV OHM_WEBSITE_URL=https://github.com/OpenHistoricalMap/ohm-website/archive/${OPENHISTORICALMAP_WEBSITE_GITSHA}.zip
2929RUN rm -rf $workdir/* && curl -fsSL $OHM_WEBSITE_URL -o /tmp/ohm-website.zip && \
3030 unzip /tmp/ohm-website.zip -d /tmp && \
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ osm-seed:
4444 accessMode : ReadWriteOnce
4545 mountPath : /var/lib/postgresql/data
4646 subPath : postgresql-db
47- AWS_ElasticBlockStore_volumeID : vol-0595bcb6ac2ba84a3
47+ AWS_ElasticBlockStore_volumeID : vol-0595bcb6ac2ba84a3
4848 AWS_ElasticBlockStore_size : 600Gi
4949 resources :
5050 enabled : true
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ osm-seed:
4747 accessMode : ReadWriteOnce
4848 mountPath : /var/lib/postgresql/data
4949 subPath : postgresql-db
50- AWS_ElasticBlockStore_volumeID : vol-05ffbd749907e949f
50+ AWS_ElasticBlockStore_volumeID : vol-025cab988ae190a7b
5151 AWS_ElasticBlockStore_size : 200Gi
5252 resources :
5353 enabled : false
You can’t perform that action at this time.
0 commit comments